Stefano Sabatini
a5af29336a
lavf/segment: slightly simplify fail logic in seg_write_packet()
13 years ago
Stefano Sabatini
4ad17bc76b
lavf/segment: move list filename printing logic from segment_end() to segment_start()
...
Allow to deal with the list file printing only in a single point, thus
simplifying logic, and allow a bit of factorization (no special case
needed when printing the first file name of the list).
13 years ago
Carl Eugen Hoyos
71e5a14028
Suggest aresample filter if it was not compiled but requested.
13 years ago
Michael Niedermayer
6ea973fc4c
avcodec_align_dimensions2: support 12 & 14 bit planar colorspaces
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4251a0b84c
imgconvert: add planar RGB formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6ca8ef5189
imgconvert: add yuv 9,10,12,14 bit planar YUV formats to pix_fmt_info
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e9757066e1
libavutil: add 12 and 14 bit planar colorspaces
...
Reviewed-by: Jean First <jeanfirst@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
5d171b1f47
jvdec: check if there is enough data
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
f8a81755c2
jvdec: remove redundant check
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1bc9e4c5b2
jvdec: remove buf_size
...
It is same as avpkt->size.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
1c638cfc25
jvdec: stop reading partial palette
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
c673a90b0d
tools: add bisect script
...
This script works like "git bisect" except that you can
specify with "bisect need ffmpeg|ffplay|ffserver|ffprobe" which tool(s)
are needed for testing a checkout
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c9de83fefd
yadif/x86: add prototypes for functions, make code valid C again.
...
Broken by: libav (a87b17f328
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
114f82ee7e
jvdec: check that the video_size fits in the packet.
...
Prevents use of out of array data and fate failure.
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
596814f978
jvdec: fix memleak of jv->frames
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
9d0c71e5e3
jvdemux: correct size for truncated packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
699083edce
fate: add test for Bitmap Brothers JV demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
7c52070131
fate: add test for Bitmap Brothers JV video
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
6671c40038
h264pred: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9c995fe19a
h264dsp: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5a1bbb3af0
dsputil: assert that depth is supported
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
bb6effe059
lavfi: remove vsrc_buffer.h API
...
The vsrc_buffer.h is not installed since commit 0b3b958135
, so there is
no point into keeping it around.
The buffersrc.h API, which is more powerful, should be used instead.
13 years ago
Stefano Sabatini
ab7dbdc92c
lavc/rawdec: add assertion check in raw_decode()
...
Check on an implicit assumption done on the number of coded bits for
paletted rawvideo with coded bits == 2.
13 years ago
Stefano Sabatini
17a54f5de8
lavc/rawdec: prefer constant AVPALETTE_SIZE over 256*4
...
Improve readability.
13 years ago
Michael Niedermayer
4330b8bba2
h264: sps: handle more profiles
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9091ba9dfa
h264: add support for constraint_set4_flag / constraint_set5_flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b6851d34c0
x86/gradfun: fix compilation failure on open solaris
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b2527d5d5a
Revert "alsdec: remove dead assignments"
...
This reverts commit 4ca6d206d1
.
The assignment is not dead, this should fix fate failures on BSD
13 years ago
Michael Niedermayer
a08efa2e36
has_decode_delay_been_guessed: tighten up the heuristic.
...
This adds the minimum delay needed with the current decoder to
recognize the reorder buffer size for the reference bitstreams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4e9e0700fb
has_decode_delay_been_guessed: skip guessing when sps.num_reorder_frames is available
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1fb07be062
fate: drop strict 1 for MR4_TANDBERG_C.264 and MR5_TANDBERG_C.264
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
bafa1c7f38
h264: add avpriv_h264_has_num_reorder_frames()
...
This function exports the exact sps.num_reorder_frames value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2c883c6acf
has_decode_delay_been_guessed: improve heuristic
...
This allows MR4_TANDBERG_C.264 and MR5_TANDBERG_C.264 to be decoded without -strict 1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
41dd30068a
doc/developer: refer to av_malloc() instead of malloc()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b286383bd2
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
asfdec: read attached pictures.
apetag: reindent
apetag: export attached covers as video streams.
apetag: fix the amount of data read from binary tags.
apetag: make sure avio_get_str() doesn't read more than it should.
mov: read itunes cover art.
snow: remove VLA in mc_block()
intfloat: Don't use designated initializers in the public headers
snow: remove a VLA.
doc: Remind devs to check return values, especially for malloc() et al
MS ATC Screen (aka MSS3) decoder
vf_yadif: move x86 init code to x86/yadif.c
vf_gradfun: move x86 init code to x86/gradfun.c
roqvideo: Remove a totally unused dspcontext
smacker: remove some unused code
dsicin: remove dead assignment
aacdec: remove dead assignment
rl2: remove dead assignment
proresenc: make a variable local to the loop where it is used
alsdec: remove dead assignments
Conflicts:
Changelog
doc/developer.texi
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/version.h
libavfilter/gradfun.h
libavfilter/x86/gradfun.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
7c84e7d337
mem: heap memory poisoning.
...
Enable it by default with FATE.
limitation: not random, and not supported with realloc.
13 years ago
Michael Niedermayer
2278a3e5f7
vc1dsp: use av_assert2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2ceaffc627
resample2: use av_assert()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7309451d73
swr: fix warning: passing argument 2 of s->mix_any_f from incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
338509c2e1
swr: fix warning: passing argument 1 of s->mix_any_f from incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
087d067a99
swr: fix warning: passing argument 2 of ctx->simd_f from incompatible pointer type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
04b5eb47a6
swr: fix mix* related function pointer warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
5e745cefc0
asfdec: read attached pictures.
13 years ago
Anton Khirnov
728d2afa17
apetag: reindent
13 years ago
Anton Khirnov
02a951b919
apetag: export attached covers as video streams.
13 years ago
Anton Khirnov
b72767df8e
apetag: fix the amount of data read from binary tags.
...
Substract the filename size from the data size.
13 years ago
Anton Khirnov
f2e175c756
apetag: make sure avio_get_str() doesn't read more than it should.
13 years ago
Anton Khirnov
a02b8c695c
mov: read itunes cover art.
13 years ago
Clément Bœsch
c855ce2671
lavf/wtvdec: add missing { } around if.
...
This should fix the current failures spotted by FATE.
13 years ago
Mans Rullgard
58e57c3052
snow: remove VLA in mc_block()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago