Michael Niedermayer
6d8e6fe9db
CODEC_ID_SOL_DPCM: Fix used write buffer.
...
Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
0b4c323213
h264: don't drop B-frames after next keyframe on POC reset.
...
The keyframe after a POC reset may not be the first to be returned to
the user. Therefore, don't reset the expected next POC once we return
a keyframe to the user, but once we know that the next frame in the
return-queue is a keyframe.
13 years ago
Shitiz Garg
4af0262f7d
cljr: Check if width or height are positive integers
...
width and height might get passed as 0 and would cause floating point
exceptions in decode_frame.
Fixes bugzilla #149
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7b92863f30
ffmpeg: Fix killing [Y/n] prompt with ctrl-c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
cf7076ee96
ffmpeg: exit() on repeated ctrl-c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3d07e0aba0
h264: return the consumed amountg in case of Q264
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
227960427b
h264: retuen the amount read in case of NAL_END_SEQUENCE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
902c090413
h264: reset nal_unit_type so that decoding frames without any nal units
...
dont leave its value at something random.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f890cb948c
mtvdemuxer: fix segfault caused by truncated packets.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ee181f84a3
lavf: print an error if a packet has been truncated due to filesize
...
in av_get_packet()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
207d9eab5a
txd/westwood: remove demuxer specific overallocate solutions as the new generic code
...
handles it fine.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
559ae20dda
lavf: Update AVIOContext.maxsize when hitting the end.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
b8909cb364
get_bits: remove useless pointer casts
...
These pointers are already of the correct type.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
54e75be420
configure: refactor lists of tests and components into variables
13 years ago
Mans Rullgard
11b1db2759
rv40: NEON optimised weak loop filter
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Dominique Leuenberger
39f59a8da7
RELEASE: We're now at 0.9.0.git
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tomas Härdin
0e764cf541
mxfdec: Don't parse slices or DeltaEntryArrays
...
The most recent demuxing/seeking code doesn't need them
13 years ago
Tomas Härdin
f98726551c
mxfdec: Remove dead/useless code
13 years ago
Tomas Härdin
2eba8da675
mxfdec: Hybrid demuxing/seeking solution
...
This uses the old demuxing code for OP1a and separate demuxing code for OPAtom.
Timestamp output is added to the old demuxing code.
The seeking code is made to seek to the start of the desired EditUnit only,
from which the normal demuxing code takes over (if OP1a). This means we don't
use delta entries or slices, only StreamOffsets.
OPAtom seeking basically works like before.
This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other
words, we allow seeking before the start or past the end for D-10 too.
This fixes ticket #746 .
13 years ago
Tomas Härdin
36c305f9db
mxfdec: Add mxf_edit_unit_absolute_offset()
...
This maps an EditUnit in an index table to the corresponding absolute offset
in the file.
13 years ago
Tomas Härdin
b56adc7842
mxfdec: Replace zero IndexDurations with st->duration
...
The mxf_d10 muxer outputs files with zero IndexDurations..
13 years ago
Tomas Härdin
2212e040b7
mxfdec: Add "fake" index to MXFIndexTable to assist seeking
...
This changes mxf_compute_ptses() to be used for MXFIndexTable, and also adds
code for computing the fake index to it.
This also temporarily disables PTS computation. A future patch will restore it.
13 years ago
Tomas Härdin
8ce41721a4
mxfdec: Add MXFIndexTables
...
This structs collects MXFIndexTableSegments belonging to one IndexSID and some
other bits of useful information.
13 years ago
Tomas Härdin
31029e30fa
mxfdec: Move mxf_read_packet*() near the bottom of the file
...
This simplifies future commits.
13 years ago
Vladimir Pantelic
65a25adc97
mpegts: replace some magic numbers with the existing define
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
62adc60b97
avidec: Check that the header chunks fit in the available filesize.
...
Fixes Ticket771
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f72601d063
txddemux: Limit allocated packets to filesize.
...
Fixes Ticket772
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
a000975444
thp: simplify overallocate checks.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
47572323f2
lavf: add internal AVIOContext.maxsize
...
This allows simple and generic limiting of allocations used for packets.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
482ee63641
thpdemux: Check that packed sizes are within the files data size and filesize.
...
Fixes Ticket774
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e098fba5d9
avidec: Fix infinite loop caused by rounding of timestamps in non interleaved avis.
...
Fixes Ticket775
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
84e57702ea
configure: disable avconv again.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1f99939a63
j2kdec: Fix integer overflow leading to a segfault
...
Fixes Ticket776
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
0988a6a035
movenc: disable iods by default
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Approved-by: MP4_maniac
Approved-by: Baptiste Coudurier
13 years ago
Michael Niedermayer
c402c1c976
smackerdemuxer: check some values before instead of just after malloc()
...
Fixes Ticket777
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e2a16e82b1
westwooddemux: dont require avio_size() functionality.
...
Found by reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
9994643fdd
Export ff_vdpau_vc1_decode_picture().
...
XBMC's configure script checks for this function in installed
libavcodec.so to determine VDPAU support.
Fixes ticket #762 reported by Christian Marillat
13 years ago
Janne Grunau
72cb904453
swscale: add unscaled packed 16 bit per component endianess conversion
13 years ago
Michael Niedermayer
175cc378b3
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
movenc: Rudimentary IODs support.
v410enc: fix output buffer size check
v410enc: include correct headers
fate: add -pix_fmt rgb48le to r210 test
flvenc: Support muxing 16 kHz nellymoser
configure: refactor list of programs into a variable
fate: add r210 decoder test
fate: split off Indeo FATE tests into their own file
fate: split off ATRAC FATE tests into their own file
fate: Add FATE tests for v410 encoder and decoder
ARM: fix external symbol refs in rv40 asm
westwood: Make sure audio header info is present when parsing audio packets
libgsm: Reset the MS mode of GSM in the flush function
libgsm: Set options on the right object
ARM: dca: disable optimised decode_blockcodes() for old gcc
Conflicts:
configure
libavformat/movenc.c
libavformat/movenc.h
tests/fate2.mak
tests/ref/acodec/alac
tests/ref/vsynth1/mpeg4
tests/ref/vsynth2/mpeg4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
56669837ce
Fix typo in v210 decoder options.
13 years ago
Michael Niedermayer
1f273c2bf2
ffmpeg: check return code from av_vsrc_buffer_add_frame()
...
Fixed Ticket770
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
1509bd3e9e
lavd/lavfi: remove a duplicated line.
13 years ago
Alex Converse
d3b8bde2f1
movenc: Rudimentary IODs support.
13 years ago
Michael Niedermayer
d0f7927177
smacker: Check for overread in smka_decode_frame()
...
Fixes a segfault with wetlog_fail.smk
Bug found by: Shitiz Garg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Tom Evans
ffa1f541b3
libavdevice: Fix v4l2 compilation under FreeBSD
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
7f9369b743
lavf: update rfps debug code.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d19ca77f42
lavf: Fix fps misdetection when codec_info_duration is 0 and only a few frames are used to estimate fps.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5f95c130a0
mov: Fix near infinite loop in stsd parsing.
...
Fixes Ticket768
Bug found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4255d6d96c
westwooddemuxer: use av_get_packet()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f68b19fc28
westwooddemuxer: Fix 1gb alloc
...
Fixes Ticket765
Bug Found by: Diana Elena Muscalu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago