Michael Niedermayer
a80ce390df
avidec: parse INFO tags at the end
...
Fixes Ticket1123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
21eafa18e6
msrle: fix extradata palette handling
...
Fixes Ticket1273
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
d74ade7d5f
ffprobe: refactor frames decoding.
13 years ago
Michael Niedermayer
610c67df37
mpegvideo: remove last_picture_ptr / h264 assert.
...
This assert is no longer true since h264 error concealment needs
last_picture_ptr to be set.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e6690b6a56
mpegvideo.c: convert some asserts to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3e0b4e32c9
svq1enc: set picture_structure correctly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f8dbbe5464
mpegvideo_enc: switch some assert to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
f72e0d9a9f
mpegvideo_enc: remove assert that has become obsolete with the new API
...
it now just checks uninitialized and unused data.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
anonymous
388243bb27
udp: do not call pthread_{mutex,cond}_destroy when not initialized.
...
This seems to cause a crash on Windows.
The author of that patch was a random guy on IRC who wants to stay anonymous.
13 years ago
Michael Niedermayer
e6b9903d82
shorten: fix cmd type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
9c1619b5fe
mpc7: remove duplicated definitions
...
They are available in mpc.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Michael Niedermayer
7bf16ec300
mpc8: fix pts
...
Fixes Ticket1254
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e4b53d995c
mov: dont clip timestamps at 0
...
Fixes Ticket1251
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
958df52ae0
configure: make libtwolame check more robust
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Piotr Bandurski
68f4156f44
movenv: fix remuxing of qdm2
13 years ago
Piotr Bandurski
1b72a7e8a9
aiffenc: fix remuxing of qdm2
13 years ago
Clément Bœsch
16dc5f2050
Replace various inlined inverse AVRational with av_inv_q().
13 years ago
Clément Bœsch
ad55244c96
lavfi/overlay: remove dead initialization.
13 years ago
Piotr Bandurski
5d2f89a23c
movenc: fix remuxing of svq3
13 years ago
Michael Niedermayer
b4780d03d0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2
rational: add av_inv_q() returning the inverse of an AVRational
dpx: Make start offset unsigned
lavfi: properly signal out-of-memory error in ff_filter_samples
cosmetics: Fix a few switched periods and linebreaks
zerocodec: Fix memleak in decode_frame
zerocodec: Cosmetics
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
2096857551
x86: h264_idct: Rename x264_add8x4_idct_sse2 --> h264_add8x4_idct_sse2
13 years ago
Reimar Döffinger
69aeba1396
oggdec: Initialize stream index to -1 in ogg_packet.
...
The previous method of having to initialize it outside lead
to incorrect code: even if it was initialized, it usually was
only initialized once, thus a packet that could not be matched
to any stream would just be processed with the return values
from the previous call.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
a4163b2d65
oggdec: simplify start time calculation code.
...
Also slightly more correct behaviour in case streams_left for
some reason is 0 from the start.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Paul B Mahol
f5f98727b3
libtwolame MP2 encoding support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Mans Rullgard
82494835c4
rational: add av_inv_q() returning the inverse of an AVRational
...
This allows simplifying a few expressions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Derek Buitenhuis
965efc1673
dpx: Make start offset unsigned
...
Some corrupted files would end up with a negative offset,
and segfault.
Fixes bug #177 .
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Moritz Bunkus
fe40dc1cec
matroskaenc: Implement support for ALAC
13 years ago
Philip Langdale
50b4dbf65a
ass subtitles: Fix valgrind warnings.
...
We're now running some of this code through valgrind for the first
time, and a few warnings showed up stemming from two problems.
1) The ASS code assumes the subtitle header is null terminated, but
it wasn't, and passing the size down doesn't look like fun, so I
added a terminator
2) The code wasn't freeing all of its state.
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Michael Niedermayer
c30f53e4d8
matroskadec: prevent potential integer overflow
...
Iam not sure this can happen, but its safer we check.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Moritz Bunkus
bc3b422029
matroskadec: Implement support for ALAC
...
This patch implements support reading ALAC from Matroska files. The
only non-trivial thing about it is that only the ALAC magic cookie is
stored in Matroska's CodecPrivate element but not the "atom size",
"tag" and "tag version" fields that FFMPEG's ALAC decoder
expects. However, those are trivial to re-create.
Sample files are available:
http://www.bunkus.org/videotools/mkvtoolnix/samples/alac/alac-in-matroska.mka
and the CoreAudio file it was created from with today's mkvmerge:
http://www.bunkus.org/videotools/mkvtoolnix/samples/alac/alac-in-matroska-source.caf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
d106ffd942
fate: add bitexact flag to fate-sub-movtextenc
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b11b0e166e
libavcodec/options_table: mark flags as also for subtitles
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
8331d56e0d
doc/filters: fix typo in "@end table."
...
Remove erroneously added trailing dot.
13 years ago
Philip Langdale
3eb56e8434
movenc: Fix unfreed memory found by valgrind.
...
Signed-off-by: Philip Langdale <philipl@overt.org>
13 years ago
Stefano Sabatini
8d6f46ab2c
doc/filters: add mandelbrot source documentation
...
Address trac ticket #1492 .
13 years ago
Stefano Sabatini
9bece76009
lavf/img2dec: add start_number_range option
13 years ago
Stefano Sabatini
b907655303
examples/muxing: drop duplicated code in add_video_stream()
13 years ago
Reinhard Tartler
800750417f
lavfi: properly signal out-of-memory error in ff_filter_samples
...
Found with a clang-scan report on http://fate.libav.org/csa/
13 years ago
Hendrik Leppkes
2db097ca76
configure: fix lib.exe check
...
Running lib.exe without parameters will always result in an error,
and failing the check.
Using the -list paramter results in a success if lib.exe is present.
13 years ago
Michael Niedermayer
9e1c55cfde
oggdec: check stream index before using it in ogg_get_length()
...
Fixes crash based on a uninitialized array index read.
If the read does not crash then out of array writes based
on the same index might have been triggered afterwards.
Found-by: inferno@chromium.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
74c6db0505
doc/demuxers.texi: avoid comma splice in image2 documentation
...
Add "and" proposition for connecting two sentences.
13 years ago
Stefano Sabatini
b0d23ae208
lavf/img2doc: document options
13 years ago
Stefano Sabatini
b5c7318bd7
lavf/img2dec: improve error logging in case of find_image_range() failure
13 years ago
Stefano Sabatini
2dfee8abf1
lavf/img2dec: sort options by name
13 years ago
Stefano Sabatini
48c1d1d3fa
lavf/img2dec: introduce and use FIRST_INDEX_SEARCH_RANGE macro in find_image_range
13 years ago
Stefano Sabatini
07ef7b1a30
lavf/img2dec: fix out-of-range check in find_image_range()
...
Take the new parameter start_index into account.
13 years ago
Stefano Sabatini
59e4e40673
lavf/img2dec: doxygen find_image_range() function
13 years ago
Stefano Sabatini
e408e329d2
lavf/img2dec: rename find_image_range() "max_start" parameter to "start_index"
...
The new name seems more consistent with the assumed logic.
"start_index" represents the minimum accepted value as first index, and
not the maximum value as implicitely assumed by the previous name.
13 years ago
Stefano Sabatini
a30e776ff1
lavf/img2dec: fix weird start_number count logic
...
This seems consistent with the assumed meaning of the option.
13 years ago
Stefano Sabatini
66747a6160
examples/muxing: simplify alloc_picture()
...
Use avpicture_alloc() high level function.
13 years ago