Martin Storsjö
17934c1824
cosmetics: Align some AVInput/OutputFormat declarations
...
Also add missing trailing commas.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
bb39bd195a
zmbv: check decompress result
...
Changing flush type from Z_FINISH is needed since encoder compresses fixed
amount of data and doesn't care about writing end of stream marker.
13 years ago
Kostya Shishkov
afc2263bcc
zmbv: correct indentation
13 years ago
Ronald S. Bultje
1744ab9e46
adpcm: convert adpcm_thp to bytestream2.
13 years ago
Ronald S. Bultje
72eda7786d
adpcm: convert adpcm_yamaha to bytestream2.
13 years ago
Ronald S. Bultje
f184735a27
adpcm: convert adpcm_swf to bytestream2.
13 years ago
Ronald S. Bultje
8afe2f9002
adpcm: convert adpcm_sbpro to bytestream2.
13 years ago
Ronald S. Bultje
834c81f4c5
adpcm: convert adpcm_ct to bytestream2.
13 years ago
Ronald S. Bultje
b3084e29e6
adpcm: convert adpcm_ima_amv/smjpeg to bytestream2.
13 years ago
Ronald S. Bultje
22c48d399d
adpcm: convert adpcm_ea_xas to bytestream2.
13 years ago
Ronald S. Bultje
edd9555537
adpcm: convert adpcm_ea_r1/2/3 to bytestream2.
13 years ago
Ronald S. Bultje
e60d09918c
adpcm: convert ea_maxis_xa to bytestream2.
13 years ago
Ronald S. Bultje
4a876eba8d
adpcm: convert adpcm_ea to bytestream2.
13 years ago
Ronald S. Bultje
524af484ed
adpcm convert adpcm_ima_ea_sead to bytestream2.
13 years ago
Ronald S. Bultje
8f2ed09289
adpcm: convert adpcm_ima_ea_eacs to bytestream2.
13 years ago
Ronald S. Bultje
159831cc09
adpcm: convert adpcm_xa to bytestream2.
13 years ago
Ronald S. Bultje
16b7a5e241
adpcm: convert ima_ws to bytestream2.
13 years ago
Ronald S. Bultje
74d7ac95fb
adpcm: convert adpcm_ima_apc to bytestream2.
13 years ago
Ronald S. Bultje
9721901440
adpcm: convert adpcm_ima_iss to bytestream2.
13 years ago
Ronald S. Bultje
1da9587026
adpcm: convert adpcm_dk3 to bytestream2.
13 years ago
Ronald S. Bultje
d570a96808
adpcm: convert adpcm_dk4 to bytestream2.
13 years ago
Ronald S. Bultje
5353ee3c30
adpcm: convert adpcm_ms to bytestream2.
13 years ago
Ronald S. Bultje
89f3aa8ce2
adpcm: use av_clip() in adpcm_ima_expand_nibble().
13 years ago
Ronald S. Bultje
689be85a9a
adpcm: convert adpcm_4xm to bytestream2.
13 years ago
Ronald S. Bultje
39505f4240
adpcm: convert adpcm_ima_wav to bytestream2.
13 years ago
Ronald S. Bultje
9604307dd8
adpcm: convert adpcm_ima_qt to bytestream2.
13 years ago
Ronald S. Bultje
c346f6304c
adpcm: fix nb_samples rounding for adpcm_ima_dk3, and update reference.
13 years ago
Michael Niedermayer
72ec043af4
oma: Fix out of array read.
...
Input: 01-Untitled-partial.oma
ZZUF params: zzuf[s=7157,r=0.001]
Fixes Bugzilla #106
Bug-found-by: darkshikari
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Mans Rullgard
a56fba502e
fate: make compare() function compatible with POSIX bc
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
f36d5c1422
Update Janne's email address.
13 years ago
Diego Biurrun
343bfdd38a
APIchanges: Replace Subversion revision numbers by Git hashes.
13 years ago
Diego Biurrun
f03183d9a8
bytestream: Eliminate one level of pointless macro indirection.
13 years ago
Ronald S. Bultje
abe3c697a3
xwd: convert to bytestream2.
13 years ago
Paul B Mahol
5a3a906ba2
vqavideo: port to bytestream2 API
...
Protects against overreads.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Reinhard Tartler
050dc12778
Read preset files with suffix .avpreset
...
The preset files have been renamed some time ago.
CC: libav-stable@libav.org
13 years ago
Kostya Shishkov
6acac061ab
prores: allow user to set fixed quantiser
13 years ago
Anton Khirnov
8bc5d90a7e
lavf: remove some disabled code.
13 years ago
Anton Khirnov
f35f8eeb0d
lavf: only set average frame rate for video.
13 years ago
Anton Khirnov
9ade26ee91
lavf: remove a pointless check.
...
Timebase is already checked in avpriv_set_pts_info().
13 years ago
Paul B Mahol
0afd8f12e9
avcodec: add XBM encoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
6ca3b248e2
resample: allocate a large enough output buffer
...
Fixes invalid writes and crashes when doing conversions such as stereo to 5.1
channels or sample rate conversion on 5.1 channels.
13 years ago
Mans Rullgard
b1740cb00a
fate: fix enc_dec_pcm tests with remote target
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
c3da9f5060
wmaenc: remove bit-exact hack
...
It may have improved cross-platform stability, but wasn't the only place in
the encoder with bitexact issues. It is no longer needed because we have FATE
tests for float encoders using fuzzy comparison.
13 years ago
Justin Ruggles
85cf49fab7
FATE: remove WMA acodec tests
13 years ago
Justin Ruggles
3a1e453e54
FATE: add WMAv1 and WMAv2 encode/decode tests with fuzzy comparison
13 years ago
Justin Ruggles
a4cf4ef256
FATE: add AC-3 and E-AC-3 encode/decode tests with fuzzy comparison
13 years ago
Aneesh Dogra
de64d8cf17
qtrle: Use bytestream2 functions to prevent buffer overreads.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Paul B Mahol
341404f753
vqavideo: check malloc return values
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Antonio Ospite
d3958ab4ed
x11grab: fix a memory leak exposed by valgrind
...
When using "-f x11grab -i :0.0" valgrind reports a definitely lost
memory block with this message:
==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2
==31544== at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31544== by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31544== by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
==31544== by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
==31544== by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0)
==31544== by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0)
==31544== by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out)
The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's
free param in the exit path.
Also check the av_strdup() return value.
Note: calling av_free(param) even when av_strdup() fails and param is
NULL is OK and keeps the code simpler without adding another label to
skip av_free().
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Uoti Urpala
05b9a89ed7
threads: fix old frames returned after avcodec_flush_buffers()
...
Calling avcodec_flush_buffers() and then avcodec_decode_video2() with
a 0-sized packet (to get remaining buffered frames) could incorrectly
return an old frame from before the avcodec_flush_buffers() call. Add
a loop in ff_thread_flush() to zero the got_frame field of each thread
to ensure the old frames will not be returned.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago