Clément Bœsch
119d70db50
lavf/mux: do not pass a copy of the packet to write_packet().
...
Sometimes the muxer modifies the packet, like for instance lavf/mp3enc
changing pkt->destruct in order to keep a copy. These changes must be
kept, even though the muxer behaviour is questionable. Regression since
0072116
.
Fixes #2124 .
12 years ago
Michael Niedermayer
252316c885
img2dec: fix -loop
...
This fixes a infinite loop with -loop and -vframes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
626756aed2
img2dec: do not change packet pts for image2pipe
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
55d32eed8f
img2dec: seeking support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Martin Storsjö
f811cd2d47
rtsp: Respect max_delay for the reordering queue when using custom IO
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
8729698d50
rtsp: Recheck the reordering queue if getting a new packet
...
If we timed out and consumed a packet from the reordering queue,
but didn't return a packet to the caller, recheck the queue status.
Otherwise, we could end up in an infinite loop, trying to consume
a queued packet that has already been consumed.
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
1a088f61e1
oggparseskeleton: Check the overall start time before using it.
...
Fixes division by zero
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
953061ed95
lavf/utils: more complete dts checks
...
Fixes division by zero
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
0780fe2740
rmdec: Limit videobufsize to remaining amount of data
...
Fixes excessive memory allocation
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
a572cc8c7a
wtvdec: prevent memory leak in get_tag()
12 years ago
Michael Niedermayer
7a6beedd3f
oggparsevorbis: fix vorbis_cleanup return type
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Benjamin Larsson
bbae68596e
xwma: Remove unused variable
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Peter Ross
8b4842c2e2
wtvdec: warn about truncated files
12 years ago
Peter Ross
801b636633
wtvenc: mux thumbnail picture
12 years ago
Peter Ross
361ecb6176
wtvdec: ignore WM/MediaThumbType metadata entry
...
This tag is used by Windows Media Centre in displaying the thumbnail,
and should be transformed into FFmpeg metadata string.
12 years ago
Peter Ross
508836932f
wtvdec: demux thumbnail picture to AVStream.attached_pic
12 years ago
Paul B Mahol
2a89081cad
Add EVRCA and SMV codec id
...
Demuxing files should be possible even if there are
no decoding support in lavc (yet).
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Peter Ross
6cff56f0ba
frmdec: tag 2 is AV_PIX_FMT_RGB0
12 years ago
Peter Ross
8d4c817c4a
frmdec: terminate frm_pix_fmt_tags
12 years ago
Peter Ross
f2dc158b0a
frmdec: use AV_PIX_FMT_xxx
12 years ago
Paul B Mahol
7f7f31bfcb
iff: support seeking with maud
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
3174137d41
w64: fact guid support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
e817d9139f
asfdec: Fix printf format string length modifier
12 years ago
Michael Niedermayer
2713e43ac8
ff_get_audio_frame_size: try to fix wma in wav
...
Fixes Ticket1905, Ticket2114
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
1ae9d2820e
Support decoding AC-3 in wav.
...
All known samples are actually ac3-in-spdif-in-wav, so use
the spdif demuxer to get the ac3 frames.
12 years ago
Luca Barbato
d894f74762
oggdec: make sure the private parse data is cleaned up
12 years ago
Luca Barbato
89b51b570d
oggdec: free the ogg streams on read_header failure
...
Plug an annoying memory leak on broken files.
12 years ago
Carl Eugen Hoyos
9ff92cf195
012v decoder.
...
The decoder also supports a12v, but removes the transparency layer
since no samples with actual transparency are available for testing.
12 years ago
Carl Eugen Hoyos
9ffe790afc
Support stereo as experimental feature in mmf / Yamaha SMAF.
...
Fixes ticket #1085 .
12 years ago
Diego Biurrun
a0c5917f86
Drop Snow codec
...
Snow is a toy codec with no real-world use and horrible code.
12 years ago
Michael Niedermayer
8214c1d82c
mxfenc: avoid depending on private codec structures and functions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
c44b4ee6ea
frmdec: reduce probe score to reflect test accuracy (and pass probetest)
12 years ago
Peter Ross
3d0994be2f
Megalux Frame demuxer
12 years ago
Carl Eugen Hoyos
1a34103f0f
mmf.c: Use LIBAVFORMAT_IDENT when writing Yamaha SMAF version information.
12 years ago
内田佳久
7e5d4fa97d
mmf.c: Do not write metadata into the SMAF Contents Info chunk.
12 years ago
James Almer
b7d77f8e64
astenc: Enable the loop flag only when needed
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
14d50c19dc
w64dec: support metadata (summarylist guid)
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Carl Eugen Hoyos
c52e07bb6e
Fix AVCI50 SPS to specify a SAR of 4:3 instead of 3:4.
12 years ago
Xi Wang
3b81bba3bc
mxfdec: fix NULL checking in mxf_get_sorted_table_segments()
...
The following out-of-memory check is broken.
*sorted_segments = av_mallocz(...);
if (!sorted_segments) { ... }
The correct NULL check should use *sorted_segments.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
fa11f36876
mpegpsenc: avoid shifting dts/pts
...
Only shift if needed to avoid negative scr when requested
or for dvd.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
cf369d4449
mpegpsenc: show first SCR/DTS at debug level
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9fd0cf8a3b
mpegpsenc: move preload recalculation to where its needed
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2a23f6035e
mpegpsenc: Fix SCR handling for DVD
...
This makes the initial SCR equal 0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
84aba8eed9
mpegpsenc: restructure SCR handling
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
f2214c6224
au: use ff_raw_write_packet()
12 years ago
Paul B Mahol
d885cc41e5
Fix "knwon" typo and add a check in tools/patcheck
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
d0b450457b
matroskadec: fix ffio_init_context() usage
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Carl Eugen Hoyos
155cdc1d05
Add a comment about an intentional misspelling to the id3v1 tags.
12 years ago
Carl Eugen Hoyos
2284448775
Revert "Fix id3v1 tag spelling."
...
The misspelling is used in the specification.
This reverts commit 95016fd1c8
.
12 years ago
Benjamin Kerensa
95016fd1c8
Fix id3v1 tag spelling.
12 years ago