Mashiat Sarker Shakkhar
363c3a44ff
WMAL: Restore removed code in mclms_predict()
...
Based on observations made by Jakub Stachowski <qbast@go2.pl>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Michael Niedermayer
45a7b0674d
oggvorbis: fix the first 2 packets timestamps matching issue
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3d42addf33
png_parser: try to fix big endian
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Martin Storsjö
44f99fe0f5
rtpdec_h264: Remove a useless ifdef
...
assert is a no-op if DEBUG isn't defined.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
8d43b8b8e8
rtpdec_h264: Remove outdated/useless/incorrect comments
...
RTCP is handled elsewhere, not in the depacketizer for an
individual format.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
5a571d3241
rtpdec_h264: Remove useless memory corruption checks
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
b7b7354c33
rtpdec_h264: Return proper error codes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
5245adb963
rtpdec_h264: Check the available data length before reading
...
This makes sure the length is checked for STAP-A type packets.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Ivan Kovtunov
de26a4b699
rtpdec_h264: Add input size checks
...
This fixes crashes if given too short data packets.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
16db88a093
vorbis_parser: fix blocksize
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
441dce2169
oggvorbis: move handling of first packets ts from parser to muxer.
...
The parser does not have enough knowledge it seems to do it
correctly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
d2205d6543
png: check bit depth for PAL8/Y400A pixel formats.
...
Wrong bit depth can lead to invalid rowsize values, which crashes the
decoder further down.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Ronald S. Bultje
273e6af47b
ea: check chunk_size for validity.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
13 years ago
Michael Niedermayer
bce42e95d1
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: add POWER[5-7] support
arm: intreadwrite: revert 16-bit load asm to old version for gcc < 4.6
vqavideo: return error if image size is not a multiple of block size
cosmetics: indentation
avformat: only fill-in interpolated timestamps if duration is non-zero
avformat: remove a workaround for broken timestamps
Conflicts:
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b18c9f1eb0
oggtheora: Port changes from oggvorbis timestamp handling.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fe5c5bccce
oggvorbisdec: Apply timestamp calculation always when timestamps arent known.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1f95ad48ff
oggvorbisdec: redesign special handling of first frames timestamp.
...
This also will make it possible to use the code for cases other than the start of a stream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
9f357e2bcd
examples/filtering_audio: use av_buffersrc_add_frame.
13 years ago
Nicolas George
7bac2a78c2
src_buffer: implement av_buffersrc_add_frame.
...
It supersedes av_vsrc_buffer_add_frame and handles
both audio and video.
13 years ago
Nicolas George
a96cd73ff2
src_buffer: implement audio buffer copy.
13 years ago
Nicolas George
d8407bba0e
lavfi/avcodec: implement audio copy_frame_prop.
13 years ago
Nicolas George
32094285ad
lavfi: implement avfilter_get_audio_buffer_ref_from_frame.
13 years ago
Alex Converse
37ddd38332
celp filters: Do not read earlier than the start of the 'out' vector.
...
CC: libav-stable@libav.org
13 years ago
Clément Bœsch
9e6a1c8981
ffmpeg: fix indent in term_init().
13 years ago
Clément Bœsch
3c1d52d30b
Fix a few @file doxy inconsistencies.
13 years ago
Clément Bœsch
49df97b282
ffmpeg: stronger ffpresets parsing.
...
This fixes at least issues with empty lines, and also allows CRLF lines
(in case a user makes its own preset on a MS plateform).
13 years ago
Clément Bœsch
ec271c9579
presets: specify the codecs.
...
This allows the following usages:
FFMPEG_DATADIR=presets ./ffmpeg -f lavfi -i testsrc=d=5 -vcodec libx264 -vpre ipod640 -f null -
FFMPEG_DATADIR=presets ./ffmpeg -f lavfi -i testsrc=d=5 -vpre libx264-ipod640 -f null -
The second example was broken even if documented.
13 years ago
Clément Bœsch
19bc2320f3
Remove old ffpresets.
...
They are now replaced with presets/ directory. WIN32 still seems to use
a ffpresets/ directory, but it doesn't look like to be deployed at
install time.
13 years ago
Peter Holik
2ee6dca3b8
png_parser
...
This adds support for png image2pipe streaming
Update to latest git by: Eugene Ware <eugene@noblesamurai.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
63eb01d9c1
oggvorbis: Try to fix pts off by 1 issue.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sean McGovern
313f9fbfbb
configure: add POWER[5-7] support
...
Also merge POWER3 and POWER4 configuration together with the additions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
e8339302c0
fate: update ogg seektest after all the bug fixes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
231d32c8d7
oggtheora: Fix initial pts
...
code based on the solution in vorbis
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
49d935b5d2
seek-test: support printing multiple packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ef32fbafcd
oggdec: fix off by one error on pos_limit
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a6bb09fc1a
oggdec: print error on failure to create streams
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
251ce23165
oggdec: print error on changing streams when its unsupported.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6fd478062c
oggdec: print error on unsupported versions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
96fb233e64
oggdec: reset lastpts so that justins vorbis duration correction is not skiped
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5f9f78dc9b
oggdec: pass avformat context to ogg_reset()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
babf2a3467
seek-test: support manually forcing a seek to a specific position
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
4b70bba57e
zerocodec: check if there is previous frame
...
Fixes crash in bug #1219 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
b7159877b1
shorten: unsigned 8bit support
13 years ago
Mans Rullgard
c02efacc8f
arm: intreadwrite: revert 16-bit load asm to old version for gcc < 4.6
...
Commit adebad0
"arm: intreadwrite: fix inline asm constraints for gcc
4.6 and later" caused some older gcc versions to miscompile code.
This reverts to the old version of the code for these compilers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
d98b254ab8
Merge https://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-Encoder
...
* https://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-Encoder :
libopenjpegdec: respect JP2 color space, fix ticket 1179
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
58b2e0f0f2
vqavideo: return error if image size is not a multiple of block size
...
The decoder assumes in various places that the image size
is a multiple of the block size, and there is no obvious
way to support odd sizes. Bailing out early if the header
specifies a bad size avoids various errors later on.
Fixes CVE-2012-0947.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
e5356ebf22
cosmetics: indentation
13 years ago
Justin Ruggles
8916f1fbcb
avformat: only fill-in interpolated timestamps if duration is non-zero
...
This avoids returning duplicate timestamps for multiple packets when the
demuxer does not provide all timestamps and packet duration is not known.
13 years ago
Justin Ruggles
ff499157a1
avformat: remove a workaround for broken timestamps
...
This modifies pts in situations other than what was intended, leading to
invalid timestamps.
Reverts commit 90bb394dcc
13 years ago
Michael Bradshaw
b7a928b2d1
libopenjpegdec: respect JP2 color space, fix ticket 1179
...
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
13 years ago