Martin Storsjö
4abf6fa095
ismindex: Check the return value of allocations
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
7c147900b8
ismindex: Factorize code for printing chunk duration lists
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
f05e9beb4a
ismindex: Rename structs and fields from "file" to "track"
...
The tool nowadays supports more than one track per file,
this makes reading the code slightly less confusing.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Janne Grunau
91d4823f70
avpacket: copy side data type and size in av_dup_packet
12 years ago
Loren Merritt
5b3c1aecb2
hqdn3d: Fix out of array read in LOWPASS
...
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Michael Niedermayer
0fe4b48540
cabac: remove unused argument of ff_init_cabac_states()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Nicolas George
be40d6cc2b
rawdec: fix a typo -- || instead of |
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Luca Barbato
37cb3b180a
matroskadec: request a read buffer for the wav header
...
Solve an infiniloop.
CC: libav-stable@libav.org
12 years ago
Luca Barbato
a8b6015823
dsputil: convert remaining functions to use ptrdiff_t strides
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Diego Biurrun
a4472ac01e
Add informative messages to av_log_ask_for_sample calls lacking them
12 years ago
Diego Biurrun
8f10f1a6dc
anm: Get rid of some very silly goto statements
12 years ago
Luca Barbato
202c2acc40
vda: remove async decoder leftovers
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Janne Grunau
a2816230c5
avframe: call release_buffer only if it is set
...
AVCodecContext release_buffer() shall be NULL for audio codecs using
get_buffer. The backward compatibility code hence have to check before
calling it.
12 years ago
Anton Khirnov
fce68c9355
pthread: unref the decoded but not returned frames on close.
...
Fixes memleaks when frame mt is used and the decoder is not flushed at
the end.
12 years ago
Anton Khirnov
555000c7d5
h264: check that DPB is allocated before accessing it in flush_dpb()
12 years ago
Anton Khirnov
d0a863ac89
vf_hqdn3d: fix uninitialized variable use
...
CC:libav-stable@libav.org
12 years ago
Anton Khirnov
887d31d455
vf_gradfun: fix uninitialized variable use
...
CC:libav-stable@libav.org
12 years ago
Anton Khirnov
c2597c5a0a
h264_refs: cosmetics, reformat
12 years ago
Anton Khirnov
f08fefc4d0
h264: remove a useless svq3 condition
...
The svq3 decoder does not call ff_h264_frame_start() anymore.
12 years ago
Anton Khirnov
07054015cf
mpegvideo: remove FMT_H264
12 years ago
Anton Khirnov
ee8704916d
mpegvideo: reindent
12 years ago
Anton Khirnov
19cac8e301
mpegvideo: remove useless references to h264 and svq3
...
The h264 decoder does not use mpegvideo anymore. The svq3 decoder only
uses ff_draw_horiz_band().
12 years ago
Anton Khirnov
85a5bc054c
lavf: remove disabled FF_API_R_FRAME_RATE cruft
12 years ago
Anton Khirnov
7b486ab13b
lavf: remove disabled FF_API_AV_GETTIME cruft
12 years ago
Anton Khirnov
32e5194969
lavf: remove disabled FF_API_INTERLEAVE_PACKET cruft
12 years ago
Anton Khirnov
435c2a31ad
lavf: remove disabled FF_API_READ_PACKET cruft
12 years ago
Anton Khirnov
c7e044c61b
lavf: remove disabled FF_API_APPLEHTTP_PROTO cruft
12 years ago
Anton Khirnov
0a7c4daf46
lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft
12 years ago
Anton Khirnov
d6ed604cf4
lavc: remove disabled FF_API_IDCT cruft
12 years ago
Anton Khirnov
3bcdf8dcb9
lavc: remove disabled FF_API_SNOW cruft
12 years ago
Anton Khirnov
fcb07e8b33
lavc: remove disabled FF_API_MMI cruft
12 years ago
Anton Khirnov
de27d2b92f
lavc: remove disabled FF_API_LIBMPEG2 cruft
12 years ago
Anton Khirnov
0517c9e098
lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruft
12 years ago
Hendrik Leppkes
d6d369bf13
atomic: prefer gcc builtins over win32 atomics, if available.
...
The mingw win32 atomics appear to be faulty, so they should not be used
if the gcc ones are available.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Janne Grunau
fc8406d01e
avframe: copy reordered_opaque in copy_props
...
Fixes video playback in applications still using reordered_opaque.
12 years ago
Janne Grunau
684e3d2e1c
ra144: check buffer size before requesting a buffer
...
Return an error on incomplete frames.
12 years ago
Janne Grunau
08149b2b39
wmapro: unref skipped frames
12 years ago
Janne Grunau
e3232f3431
svq1: use av_frame_free to free refcounted frame
...
Fixes a memleak due to avcodec_free_frame not freeing the frame data.
12 years ago
Anton Khirnov
669cc0f364
lavc: fix get_buffer() compatibility layer for audio.
...
planes - FF_ARRAY_ELEMS would be evaluated as unsigned and underflow
instead of being negative as was intended.
12 years ago
Anton Khirnov
98cec5c84f
ratecontrol: remove an unused variable
12 years ago
Anton Khirnov
e2c2974120
vorbisdec: do not leak the first frame.
12 years ago
Xi Wang
5d639b2b4a
vf_pad: fix a & instead of && typo
...
Avoid buffer overflow in buffer_needs_copy()
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Vittorio Giovara
2eaa3663fd
avplay: enable only when SDL 1.2 is found
...
SDL 2 is API incompatible.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Anton Khirnov
adfa53d67c
lavc: remove disabled FF_API_VDA_ASYNC cruft
12 years ago
Anton Khirnov
bdd1567c35
lavc: remove disabled FF_API_CODEC_ID cruft
12 years ago
Anton Khirnov
7d42fd6bb9
lavc: remove disabled FF_API_FIND_BEST_PIX_FMT cruft
12 years ago
Anton Khirnov
845017105f
lavc: remove disabled FF_API_DSP_MASK cruft
12 years ago
Anton Khirnov
d03a94e2b7
lavc: remove disabled FF_API_SUB_ID cruft
12 years ago
Anton Khirnov
2a11369523
lavc: remove disabled FF_API_INTER_THRESHOLD cruft
12 years ago
Anton Khirnov
9d6cf81f02
lavc: remove disabled FF_API_COLOR_TABLE_ID cruft
12 years ago