Michael Niedermayer
2fe0094e0b
wavenc: write fact chunk sample count at the correct file position
...
Fixes curruption of metadata in the INFO chunk.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-11-26 19:11:10 -05:00
Justin Ruggles
3c370f5abc
riff: only warn on a bad INFO chunk code size instead of failing
...
fixes Bug 392
2012-11-26 19:08:51 -05:00
Justin Ruggles
259d8c5647
riff: do not add empty metadata tags in INFO chunk
2012-11-26 19:08:51 -05:00
Michael Niedermayer
386fc67c79
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavf: avoid integer overflow in ff_compute_frame_duration()
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-26 16:24:23 +01:00
Peter Ross
76f60788e7
iff demuxer: don't bother checking bitmap compression type; iff decoder does this now
...
Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
2012-11-26 23:29:02 +11:00
Janne Grunau
7709ce029a
lavf: avoid integer overflow in ff_compute_frame_duration()
...
Scaling the denominator instead of the numerator if it is too large
loses precision. Fixes an assert caused by a negative frame duration in
the fuzzed sample nasa-8s2.ts_s202310.
CC: libav-stable@libav.org
2012-11-26 10:26:08 +01:00
Michael Niedermayer
bf2f93cdbf
Merge commit '28c8e288fa0342fdef532a7522a4707bebf831cc'
...
* commit '28c8e288fa0342fdef532a7522a4707bebf831cc':
x86: h264_chromamc: port to cpuflags
yop: fix typo
avconv: fix copying per-stream metadata.
doc: avtools-common-opts: Fix terminology concerning metric prefixes
configure: suncc: Add compiler arch support for Nehalem & Sandy Bridge
riff: Make ff_riff_tags static and move under appropriate #ifdef
Conflicts:
libavformat/riff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-26 00:43:45 +01:00
Paul B Mahol
b491da18d1
yop: fix typo
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-11-25 11:10:52 -05:00
Diego Biurrun
ddb009425c
riff: Make ff_riff_tags static and move under appropriate #ifdef
...
The table is not used outside the file.
2012-11-25 13:32:10 +01:00
Michael Niedermayer
e6305f7631
mov: set flags to indicate that byte wise seeking is not supported.
...
Fixes Ticket1831
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-25 01:19:33 +01:00
Nicolas George
ca4872e887
lavf/sbgdec: use proper constants for av_log().
2012-11-24 23:56:52 +01:00
Carl Eugen Hoyos
d080292651
Support u8 in aiff.
...
Fixes ticket #1960 .
Reviewed-by; Paul B Mahol
2012-11-24 21:21:50 +01:00
Piotr Bandurski
081bf60ec6
c93: signal EOF
2012-11-24 15:04:32 +00:00
Paul B Mahol
05b02e9c0f
mmf: simplify code by using FFMIN
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 14:27:55 +00:00
Paul B Mahol
7f321fca23
mmf: signal EOF
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 14:24:13 +00:00
Paul B Mahol
9378a90add
omadec: remove stale comment
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 11:41:43 +00:00
Paul B Mahol
3d8e684f05
ADPCM IMA Dialogic decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 10:56:47 +00:00
Paul B Mahol
1a61c7a54b
wvenc: multichannel muxing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 10:20:46 +00:00
Paul B Mahol
1b9467aea1
omaenc: remove superfluous "OMA: "
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 10:04:20 +00:00
Paul B Mahol
bc5ba1c7fd
omaenc: abort for unsupported codecs
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-24 10:04:20 +00:00
Piotr Bandurski
6d6bf250dd
riff: fix decoding of 24-bit packed int (type 1, 20-bit)
2012-11-24 10:54:38 +01:00
Carl Eugen Hoyos
95903e3cfd
Support G.722 in Sun AU.
2012-11-24 10:43:32 +01:00
Carl Eugen Hoyos
df651cf42e
Add an annotation field as required by the specification when muxing Sun AU.
...
Reviewed-by: Paul B Mahol
2012-11-24 10:43:11 +01:00
Michael Niedermayer
09456d0df1
riff: ignore ff_read_riff_info() failure.
...
Some files simply contain invalid info tags.
Fixes unrelated bug posted into Ticket1821
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-23 23:41:57 +01:00
Michael Niedermayer
0efcf16a3e
replace av_log(0, by av_log(NULL,
...
The first parameter is a pointer and NULL is more correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-23 18:10:02 +01:00
Michael Niedermayer
e9c372362c
id3v2: restructure compressed and unsync code
...
This should fix the interaction between the 2.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-23 03:28:20 +01:00
Michael Niedermayer
3616afced6
rmdec: fix av_log level and context
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-23 01:19:48 +01:00
Michael Niedermayer
be89693ddc
avidec: try to support oddly muxed MMES stream
...
Fixes ticket1804
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-22 23:20:35 +01:00
Paul B Mahol
6aa6baa4f2
xmv: signal EOF
...
Fixes #1946 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-22 20:37:24 +00:00
Michael Niedermayer
66b45d8f7a
movenc: fix assert failure caused by rounding.
...
Fixes Ticket1820
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-22 20:58:06 +01:00
Paul B Mahol
32cd3a7c16
ADPCM AFC decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-22 19:27:44 +00:00
Michael Niedermayer
08e26e7f5c
id3v2: print ver/flags/len on debug level.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-22 19:31:04 +01:00
Michael Niedermayer
a9cfbf6d4b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
id3v2: fix reading unsynchronized frames.
cdgraphics: fix incorrect vertical offset mask in cdg_scroll()
apetag: fix error handling in ff_ape_parse_tag()
Conflicts:
libavformat/id3v2.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-22 15:36:50 +01:00
Anton Khirnov
9ae80e6a9c
id3v2: fix reading unsynchronized frames.
...
Current code would incorrectly process e.g. 'ff 00 ff 00 ff' to
'ff ff ff', while it should be 'ff ff 00 ff'.
Fixes Bug 395.
CC: libav-stable@libav.org
2012-11-22 13:40:04 +01:00
Aleksi Nurmi
492a5f835c
brender_pix: a new image decoder
...
PIX is an image file format that was used by the BRender 3d engine.
Signed-off-by: Aleksi Nurmi <aleksi.nurmi@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-22 01:06:25 +01:00
Peter Ross
bdba96e93c
use correct doxygen parameter direction syntax
...
Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:56:15 +01:00
Peter Ross
9ccc349f77
ensure comment blocks that contain doxygen commands start with double asterix
...
Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:55:15 +01:00
Piotr Bandurski
88161b2a52
siff: signal EOF
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:52:20 +01:00
Piotr Bandurski
9530439e5f
segafilm: signal EOF
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:51:21 +01:00
Piotr Bandurski
1ed7ca00dc
bethsoftvid: signal EOF
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:22:38 +01:00
Piotr Bandurski
425d0888c3
bfi: signal EOF
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 23:22:38 +01:00
Paul B Mahol
8e6957964e
yop: fix 10l typo
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-21 20:15:02 +00:00
Peter Ross
0705cbd002
bink: return AVERROR_EOF upon reaching end of file
...
Fixes ticket #1935 .
Signed-off-by: Peter Ross <pross@xvid.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 19:25:20 +01:00
Paul B Mahol
e4e7846db8
cdxl: use url_feof()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-21 16:39:44 +00:00
Paul B Mahol
168a7f06de
rawenc: cosmetics: reindent
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-21 15:34:45 +00:00
Xi Wang
b655cfefaf
apetag: fix error handling in ff_ape_parse_tag()
...
The following error handling is broken due to signedness.
int file_size;
uint32_t tag_bytes;
int64_t tag_start;
...
tag_start = file_size - tag_bytes - APE_TAG_FOOTER_BYTES;
if (tag_start < 0) { ... }
Note that tag_bytes is unsigned, which makes the right-hand side of
`tag_start = ...' unsigned, too. The 32-bit unsigned value is then
zero-extended to 64 bits. Therefore, tag_start must be non-negative,
and the check (tag_start < 0) is always false, which breaks the error
handling. This patch fixes the check.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-11-21 14:35:26 +01:00
Piotr Bandurski
4bf3bc6f96
sierravmd: signal EOF
2012-11-21 10:38:52 +00:00
Paul B Mahol
e94f429474
cafdec: return right code if EOF is reached
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-21 10:34:38 +00:00
Piotr Bandurski
25d8ebd422
thp: signal EOF
2012-11-21 10:21:54 +00:00
Piotr Bandurski
9a0ecd507a
rpl: return AVERROR_EOF instead of -1
2012-11-21 09:48:46 +00:00
Clément Bœsch
030db0c1dd
lavf/hls: whitespace cosmetics after 23db5418
.
2012-11-21 08:01:51 +01:00
Clément Bœsch
57d7e21c34
lavf: move libmodplug registration with the other ext lib.
...
Also remove the duplicated #if.
2012-11-21 08:00:35 +01:00
LYF
23db5418ed
hls: create an AVProgram for each variant
...
Without the information, application may choose audio from one variant
and video from another variant, which leads to fetch two variants from
network. This enables av_find_best_stream() to find matching audio and
video streams, so that only one variant is fetched from network.
Signed-off-by: LYF <yefei.li@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-21 01:24:01 +01:00
Stefano Sabatini
8b6aeb1fcd
lavf/segment: fix value for the M3U8 EXT-X-MEDIA
...
From the M3U8 specification:
|The EXT-X-MEDIA-SEQUENCE tag indicates the sequence number of the first
|URI that appears in a Playlist file.
Previously it was using the list index number. Also remove now unused
list_count field.
2012-11-20 22:48:28 +01:00
Stefano Sabatini
5a1ac463e0
lavf/segment: do not pre-increment segment_idx value
...
Increment the value just when a new segment with the given index is
started. Simplify logic, improve readability.
2012-11-20 22:48:28 +01:00
Stefano Sabatini
2b31aa8895
lavf/segment: unbreak behavior for segment muxer
...
The segment muxer presumes the use of AVFMT_GLOBALHEADER, ssegment should
be use in case of formats which requires no global headers.
Regression introduced when merging
0826d8513d
.
2012-11-20 22:48:28 +01:00
Stefano Sabatini
b6c05879ea
lavf/segment: consistently use "seg" in segment_start()
2012-11-20 22:48:28 +01:00
Clément Bœsch
cc88734c3c
lavf/srtdec: trim line break event separators from packet.
...
The muxer add them automatically, so this avoid having a bunch of line
breaks all over the output files. One '\n' is still kept/added because
the lavc subrip decoder seems to have trouble with line ending abruptly
(it doesn't flush correctly the tags). This bug is harmless but should
be fixed; though, this doesn't look like a trivial change. When this bug
gets fixed, we can consider removing the '\n' at the end of the packet.
The 2048B buffer limit was also removed while moving to AVBPrint API.
Note that this doesn't really matter since the decoder is limited as
well.
2012-11-20 22:38:39 +01:00
Carl Eugen Hoyos
d513fb1c75
Add -skip_initial_bytes option.
...
Fixes ticket #1909 .
2012-11-20 22:04:14 +01:00
Carl Eugen Hoyos
b1e190d0fd
Correctly signal EOF when demuxing caf files.
2012-11-20 22:04:03 +01:00
ChanMin Kim
4293464705
lavf/segment: do not copy codec_tag when not available
...
Some muxers do not allow stream if codec_tag is incompatible.
Sometimes the passed input codec's codec_tag is not compatible with the
output muxer.
Because the codec_tag field of the segment muxer cannot be set, ffmpeg.c
doesn't know how to handle these cases.
Signed-off-by: ChanMin Kim <kcm1700@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-20 19:19:31 +01:00
Michael Niedermayer
07a866282f
oggdec: fix memleak on header parsing failure
...
Fixes Ticket1931
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-20 15:14:12 +01:00
Peter Ross
ed27ed9f4f
iff: DEEP RLE 32-bit decoder
...
Fixes ticket #1046 .
Signed-off-by: Peter Ross <pross@xvid.org>
2012-11-20 09:49:49 +11:00
Gavin Kinsey
19660a8876
Allow use of @ character in username and passwords embedded in URLs
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-19 18:02:28 +01:00
Paul B Mahol
305fe9ae59
nut: add tag for PCM signed 8-bit planar
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-19 09:55:20 +00:00
Carl Eugen Hoyos
a5d4e94a97
Support iLBC in caf.
2012-11-19 10:19:50 +01:00
Marton Balint
4bee03034b
lavf: let av_find_best_stream use bitrate info if available
...
I guess the user expects to see the stream with the highest bitrate, not with
the most frames, this is especially useful for multi bitrate streams.
This patch changes av_find_best_stream to select the stream based on a number
of conditions, the first condition has the highest priority, the last condition
has the lowest:
1) Select the stream with the highest FFMIN(5, codec_info_nb_frames) value
2) Select the stream with the highest bitrate
3) Select the stream with the highest codec_info_nb_frames
4) Select the first stream
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-18 13:57:08 +01:00
Peter Ross
05001dd7ca
iff: process DEEP DLOC chunk to obtain image dimensions
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-18 13:47:17 +01:00
Peter Ross
d26eeb0dc1
iff: recognise more DEEP colorspaces
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-18 13:46:36 +01:00
Paul B Mahol
d0a503c97c
ast: check bit depth too
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-18 12:29:05 +00:00
Paul B Mahol
f5f29910dd
img2enc: remove dead code
...
Nothing in lavc sets extradata for such codec and this is wrong place
for it anyway.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-18 12:09:20 +00:00
Carl Eugen Hoyos
ab82b77822
Fix possible NULL-pointer dereference when decoding mov files.
...
Fixes CID743440, introduced in 850e5c0
.
2012-11-18 08:52:50 +01:00
Paul B Mahol
d98364edce
smush: check audio packet size
...
Fixes null pointer dereference.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17 19:58:54 +00:00
Michael Niedermayer
fb1ea777b3
electronicarts: check size before reading duration out of a chunk.
...
Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-17 20:43:56 +01:00
Paul B Mahol
461ecea068
AST demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17 19:30:08 +00:00
Paul B Mahol
9ba41ae63e
PCM signed 16-bit big-endian planar decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17 19:30:08 +00:00
Paul B Mahol
37e2a9783f
lxfdec: remove deplanarization hack
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17 19:30:04 +00:00
Paul B Mahol
467dfd5dfa
PCM signed 24-bit/32-bit little-endian planar decoder
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-17 19:09:43 +00:00
Michael Niedermayer
f96a653184
flvdec: disable hack that attempts to parse aac bitstream in the flv demuxer.
...
I was unable to find a file that needs this hack, if you have one please
contact us!
Fixes out of array accesses.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-17 18:49:08 +01:00
Stefano Sabatini
a0f2d3fff5
lavf/avienc: return proper error codes, and provide some more feedback
2012-11-17 11:15:00 +01:00
Michael Niedermayer
caedd51e56
mxfdec: fix potential integer overflow in mxf_compute_sample_count()
...
Fixes CID743442
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-17 02:20:50 +01:00
Matthieu Bouron
83cab07a4c
mxfdec: set audio packets pts
...
Also fix playback of ntsc files.
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-16 14:12:37 +01:00
Xidorn Quan
8ee6db393c
mov: add more udta meta data recognition
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-16 14:12:37 +01:00
Clément Bœsch
2dd0da787c
lavf/mp3enc: make sure the header is valid before writing audio pkt.
...
An invalid header can lead avpriv_mpegaudio_decode_header() to overread
and/or div by zero.
2012-11-16 14:11:08 +01:00
Janne Grunau
c84cce5a99
mxfdec: fix typo in mxf_read_seek()
...
Check the number of index tables before using byte offset based seeking
instead of the index_tables pointer.
Found by Måns Rullgård <mans@mansr.com>.
2012-11-15 17:37:09 +01:00
Carl Eugen Hoyos
850e5c041d
Read QuickTime version 1 audio fields in broken mov files.
...
Matrox XMIO capture boards write files with major brand "JUNK"
and compatible brand "qt " that contain QuickTime version 1
audio fields.
Fixes ticket #1881 .
2012-11-15 14:38:19 +01:00
Michael Niedermayer
a9b1536a01
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
bgmc: Fix av_malloc checks in ff_bgmc_init()
rtp: set the payload type as stream id
Conflicts:
libavformat/rtpenc_chain.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-15 11:31:13 +01:00
Michael Niedermayer
4d941eac16
Merge commit '3b4296f41473a5b39e84d7a49d480624c9c60040'
...
* commit '3b4296f41473a5b39e84d7a49d480624c9c60040':
avformat: clarify stream id for muxing
fate: Add dependencies for aac, alac, amrnb, amrwb, atrac tests
ppc: do not pass redundant compiler flags
avutil: change GET_UTF8 to not use av_log2()
segment: fix NULL pointer dereference in seg_write_header()
Conflicts:
tests/fate/aac.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-15 11:12:25 +01:00
Michael Niedermayer
a3cb7f992f
xwma: check bytes_per_sample, fix division by 0.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-15 00:56:54 +01:00
Luca Barbato
3b4296f414
avformat: clarify stream id for muxing
2012-11-14 20:38:51 +01:00
Luca Barbato
8034130e06
rtp: set the payload type as stream id
...
Support multiple video/audio streams with different format in the
same session.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-11-14 20:38:51 +01:00
Paul B Mahol
dbc44667ce
Add missing dependency for avr demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-14 18:02:28 +00:00
Michael Niedermayer
87d073eacc
mov: Dont try to calculate with unknown durations, fix division by 0
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-14 14:08:44 +01:00
Michael Niedermayer
e13d5e9a4b
Merge commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2'
...
* commit '5e9c6ef8f3beb9ed7b271654a82349ac90fe43f2':
x86: h264_weight_10bit: port to cpuflags
libtheoraenc: add missing pixdesc.h header
avcodec: remove ff_is_hwaccel_pix_fmt
pixdesc: add av_pix_fmt_get_chroma_sub_sample
hlsenc: stand alone hls segmenter
Conflicts:
doc/muxers.texi
libavcodec/ffv1enc.c
libavcodec/imgconvert.c
libavcodec/mpegvideo_enc.c
libavcodec/tiffenc.c
libavformat/Makefile
libavformat/allformats.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-14 11:59:20 +01:00
Xi Wang
e8769b37fe
segment: fix NULL pointer dereference in seg_write_header()
...
Since the pointer `oc' is NULL, oc->oformat->name will cause a null
pointer dereference. This patch changes it to seg->oformat->name.
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-11-14 12:33:27 +02:00
Michael Niedermayer
1f1960519a
lxfdec: fix "no audio stream" check. avoid null ptrs deref
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-14 00:03:42 +01:00
Michael Niedermayer
af9ec3dd1d
av_probe_input_format3: support NULL as buffer. Fixes null ptr deref
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 22:21:10 +01:00
Michael Niedermayer
eab022d863
mpegts: prevent freeing ones own section in pat_cb
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 21:45:53 +01:00
Michael Niedermayer
4392e69ad4
mov: check stps correctly, avoid overreading 1 element.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 21:45:53 +01:00
Michael Niedermayer
3669915e93
dvdec: check ipcm more completely, avoid assert failure.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 21:45:53 +01:00
Clément Bœsch
41ebbb3b04
lavf/wtvenc: fix s[tp]_pairs memleak.
2012-11-13 20:02:43 +01:00
Michael Niedermayer
4facddd568
mpegts: dont set stream info when a decoder has already been opened.
...
Fixes assertion failure.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 15:44:13 +01:00
Michael Niedermayer
327cd0d09b
mpegts: prevent freeing ones own section in pmt_cb
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 15:44:13 +01:00
Paul B Mahol
09a0392341
paf: set channel layout
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-13 13:25:19 +00:00
Michael Niedermayer
799d749c77
Merge remote-tracking branch 'qatar/master'
...
* qatar/master: (24 commits)
yop: set channel layout
wtv: set channel layout for mpeg audio
westwood_aud: set channel layout
wc3movie: set channel layout
tmv: set channel layout
tiertexseq: set channel layout
swfdec: set channel layout
sol: set channel layout
smacker: set channel layout
siff: set channel layout
sierravmd: set channel layout
rtpdec_amr: set channel layout
rsodec: set channel layout
rmdec: set channel layout for RA version 3
qcp: set channel layout
psxstr: set channel layout
omadec: set channel layout
oggparsespeex: validate channel count and set channel layout
nuv: set channel layout
mxg: set channel layout
...
Conflicts:
libavformat/swfdec.c
libavformat/wtv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 11:09:38 +01:00
Michael Niedermayer
7eb40d85f2
Merge commit 'ef1b23ad21e3f12fc4ff2a73a6d4d4cd9d630c4b'
...
* commit 'ef1b23ad21e3f12fc4ff2a73a6d4d4cd9d630c4b': (21 commits)
jvdec: set channel layout
iss: set channel layout
ipmovie: set channel layout
iff: set channel layout
idroqdec: set channel layout
gxfdec: set channel layout when applicable
gsmdec: set channel layout
flvdec: set channel layout
dv: set channel layout
dsicin: set channel layout
daud: set channel layout
cdxl: set channel layout
bmv: set channel layout
bink: set channel layout
bfi: set channel layout
bethsoftvid: set channel layout
apc: set channel layout
amr: set channel_layout
ppc: replace pointer casting with AV_COPY32
ppc: fix some unused variable warnings
...
Conflicts:
libavformat/amr.c
libavformat/iff.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-13 10:55:07 +01:00
Luca Barbato
22a0827dff
hlsenc: stand alone hls segmenter
...
Simplifies usage but has higher latency.
2012-11-13 01:37:05 +01:00
Michael Niedermayer
abe68364a3
swfdec: check space before copy
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-12 19:29:27 +01:00
Paul B Mahol
87c113f4b3
wv: use right function to read block_samples
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-12 15:50:04 +00:00
Justin Ruggles
b9629acb6b
yop: set channel layout
2012-11-12 10:33:23 -05:00
Justin Ruggles
935fbb66ef
wtv: set channel layout for mpeg audio
2012-11-12 10:33:23 -05:00
Justin Ruggles
7b48d93e8a
westwood_aud: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
2ce7f820d4
wc3movie: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
a94b0267f2
tmv: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
7f348bd764
tiertexseq: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
a3949fe11f
swfdec: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
1c7587728c
sol: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
bfccd76adb
smacker: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
57e590e4b8
siff: set channel layout
2012-11-12 10:33:22 -05:00
Justin Ruggles
a634896cf8
sierravmd: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
c1ac602d53
rtpdec_amr: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
ce842029ce
rsodec: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
60a585304c
rmdec: set channel layout for RA version 3
2012-11-12 10:33:21 -05:00
Justin Ruggles
444b79c18a
qcp: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
b5e3e77711
psxstr: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
c9759eb426
omadec: set channel layout
2012-11-12 10:33:21 -05:00
Justin Ruggles
ef1b23ad21
jvdec: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
d4088efbe2
oggparsespeex: validate channel count and set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
4371131283
iss: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
232e9c4c4b
nuv: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
cc57228e31
mxg: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
66d7ceb4aa
mvi: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
f6c6e5aac1
mpc7: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
f24b0b1b6c
mmf: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
87199d34db
mm: set channel layout
2012-11-12 10:33:20 -05:00
Justin Ruggles
41a2d9590d
ipmovie: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
024e03701c
iff: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
73e2007f3d
idroqdec: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
f6c3adde41
gxfdec: set channel layout when applicable
2012-11-12 10:33:19 -05:00
Justin Ruggles
d4a105ae5c
gsmdec: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
644d8d2e5a
flvdec: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
d5ca70b103
dv: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
49e7af06f2
dsicin: set channel layout
2012-11-12 10:33:19 -05:00
Justin Ruggles
a05a63785c
daud: set channel layout
...
Update FATE reference due to WAVE channel mask now being set correctly.
2012-11-12 10:33:18 -05:00
Justin Ruggles
0d09a5848f
cdxl: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
e8088d6e4b
bmv: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
2fe804f316
bink: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
ff50d27a63
bfi: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
b5d1a15d1b
bethsoftvid: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
39f0e9b8c6
apc: set channel layout
2012-11-12 10:33:18 -05:00
Justin Ruggles
5595368bcc
amr: set channel_layout
2012-11-12 10:33:18 -05:00
Michael Niedermayer
03b078721c
Merge commit '97bf7c03b1338a867da52c159a2afecbdedcfa88'
...
* commit '97bf7c03b1338a867da52c159a2afecbdedcfa88':
doc: git-howto: Leave reviewers time to react before pushing patches
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h
Conflicts:
doc/APIchanges
doc/examples/decoding_encoding.c
doc/git-howto.texi
ffmpeg_filter.c
libavcodec/flacdec.c
libavcodec/imc.c
libavcodec/mpegaudiodec.c
libavcodec/utils.c
libavfilter/asrc_anullsrc.c
libavfilter/audio.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
libavfilter/buffer.c
libavutil/Makefile
libavutil/audioconvert.h
libavutil/channel_layout.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-12 11:32:11 +01:00
Clément Bœsch
3704804c8f
lavf/assenc: add non strict ts flag.
...
ASS can have several events at the same time.
2012-11-11 22:58:56 +01:00
Michael Niedermayer
5aedee4fac
gxf: avoid null ptr deref without streams.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 20:58:04 +01:00
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
2012-11-11 13:35:12 -05:00
Michael Niedermayer
192db16b9c
segafilm: fix division by 0
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 18:32:46 +01:00
Michael Niedermayer
f1d6f013b2
omadec: fix len check in nprobe() prevent out of array access
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 18:16:48 +01:00
Peter Ross
6f78ba8b0b
electronic arts: support rare samples containing adpcm_ea_r1 audio
...
Fixes ticket #1549 .
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 12:52:02 +01:00
Peter Ross
d168fcb68f
electronicarts: use av_log_ask_for_sample
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 12:51:16 +01:00
Michael Niedermayer
d7da4d47a6
mxfdec: avoid double free and leaks.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 02:20:04 +01:00
Michael Niedermayer
c2ca0163af
matroskadec: check h in generic rm packet shuffler
...
Fixes crash
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-11 01:19:44 +01:00
Clément Bœsch
e56b098410
lavf/srtenc: ignore invalid timed packets instead of failing.
...
This way we don't abort in the middle of remuxing, just warn about an
event ignored. The index increment is moved to make sure the output
numbers still make sense.
2012-11-10 22:43:27 +01:00
Michael Niedermayer
eb3dc23705
mov: Make sure no streams after the header lack a timescale.
...
Fixes division by 0
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-10 13:29:23 +01:00
Piotr Bandurski
cc5c2ef09d
riff: add SMV2 FourCC for H264
...
sample:
http://samples.mplayerhq.hu/V-codecs/smv2.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-10 13:16:14 +01:00
Carl Eugen Hoyos
b56ff0b261
Allow forcing a frame size in bytes for image2pipe.
...
This allows decoding of concatenated frames encoded in
uncompressed formats like v210.
The frame size cannot be generally calculated, FFmpeg
also supports broken encoders.
Fixes ticket #1869 .
2012-11-10 02:25:17 +01:00
Carl Eugen Hoyos
f91f049a22
Add yuv4xxp12 and yuv4xxp14 pixel formats to y4m encoder and decoder.
...
Reviewed-by: Paul B Mahol
2012-11-10 02:19:55 +01:00
Piotr Bandurski
49c2f2d57e
riff: add GXVE FourCC for WMV2
...
sample:
http://samples.mplayerhq.hu/V-codecs/ViVD/vivd.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-10 01:58:51 +01:00
Michael Niedermayer
c63e76ba35
ebml_read_binary: use fast_padded_malloc()
...
Fixes out of array accesses
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-09 23:35:58 +01:00
Michael Niedermayer
e481ba2ed7
vqf: check samplerate, avoid division by 0.
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-09 18:05:19 +01:00
Michael Niedermayer
7989f7e0b5
xmv: Fix integer overflow
...
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-09 17:18:01 +01:00
Michael Niedermayer
7ec1fe1f47
lavf: Dont compare absolute to relative timestamps in duration gcd
...
This prevents a division by 0
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-09 14:59:43 +01:00
Michael Niedermayer
1b5a6d3c49
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
flacenc: ensure the order is within the min/max range in LPC order search
avconv: rescale packet duration to muxer time base when flushing encoders
add 24-bit FLAC encoding to Changelog
rtpenc_aac: Fix calculation of the header size
x86: h264_intrapred: port to cpuflags
Conflicts:
Changelog
libavformat/rtpenc_aac.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-09 10:29:51 +01:00
Luca Abeni
e004d175fe
rtpenc_aac: Fix calculation of the header size
...
Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-11-08 19:48:32 +02:00
Michael Niedermayer
5ff43ec72d
sctp: silence const warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-08 16:06:04 +01:00
Michael Niedermayer
60e028958c
ffmdec: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-08 15:54:14 +01:00
Luca Abeni
78e08fd340
rtpenc_aac: Fix 10l bug
...
Fixes CID602564
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-08 01:54:16 +01:00
Peter Ross
a373f35272
wtvenc: produce seekable files
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-07 13:59:03 +01:00
Peter Ross
b89cd2a028
wtvenc: simplify write_timestamp
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-07 13:51:38 +01:00
Peter Ross
3e65134326
wtvenc: output third video pts in timestamp chunk (this is what Microsoft Windows Media Center expects)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-07 13:45:01 +01:00
Peter Ross
0d9435048c
wtvenc: indent fixup
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-07 13:44:50 +01:00
Peter Ross
b50759cd6b
wtvenc: do not emit stream2 and DSATTRIB_TRANSPORT_PROPERTY chunks; these are not required for playback
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-07 13:42:01 +01:00
Paul B Mahol
7c2cfaac6a
smjpegenc: use bits_per_coded_sample instead of calling function
...
Final result is same and this allows support of multiple values per codec.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-07 01:31:39 +00:00
Nicolas George
e9b8523d52
sbgdec: dont set slide to a uninitialized value
...
Fixed CID703833
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 21:46:22 +01:00
Michael Niedermayer
2ca649f177
utils: fix integer overflow with DURATION_MAX_READ_SIZE
...
Fixes CID703746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 18:44:14 +01:00
Peter Ross
e6ef628b1e
wtv: move duplicated guids into wtv.c
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 15:52:33 +01:00
Peter Ross
1701a22fce
wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 15:51:41 +01:00
Peter Ross
9632f5efcf
wtvenc: fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 15:50:36 +01:00
Michael Niedermayer
2a0dfc51ea
img2enc: support 16bit per sample yuv in split planes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 02:27:04 +01:00
Michael Niedermayer
2c87565147
img2enc: support storing alpha planes too in split plane mode
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 01:42:26 +01:00
Michael Niedermayer
db012e161e
img2enc: Fix yuva with yuv split planes.
...
Previously the chroma planes where corrupted in this case.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 01:31:41 +01:00
Michael Niedermayer
67ee2d2f6d
img2enc: check pix_fmt for split planes mode.
...
Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 01:31:41 +01:00
Michael Niedermayer
6dfcc7abdd
img2enc: ensure that the codec is rawvideo for split planes mode.
...
Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-06 01:31:41 +01:00
Michael Niedermayer
7d26be63c2
Merge commit '5ff998a233d759d0de83ea6f95c383d03d25d88e'
...
* commit '5ff998a233d759d0de83ea6f95c383d03d25d88e':
flacenc: use uint64_t for bit counts
flacenc: remove wasted trailing 0 bits
lavu: add av_ctz() for trailing zero bit count
flacenc: use a separate buffer for byte-swapping for MD5 checksum on big-endian
fate: aac: Place LATM tests and general AAC tests in different groups
build: The A64 muxer depends on rawenc.o for ff_raw_write_packet()
Conflicts:
doc/APIchanges
libavutil/version.h
tests/fate/aac.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 22:51:20 +01:00
Martin Storsjö
f0615557e0
rtmpproto: Use av_strlcat instead of strncat
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Fixes: [FFmpeg-devel] rtmpproto compile error
Similar patch: [FFmpeg-devel] [PATCH] call to strncat replaced with av_strlcat to avoid compile issue with systems implementing strncat via strcat.
2012-11-05 21:47:43 +01:00
Paul B Mahol
70727e8774
lavf/avr: make .long_name consistent with others
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-05 20:47:22 +00:00
Michael Niedermayer
282a6308bf
udp: check ff_socket_nonblock() return code
...
Fixes CID733719
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 21:21:04 +01:00
Diego Biurrun
92fec47d69
build: The A64 muxer depends on rawenc.o for ff_raw_write_packet()
2012-11-05 20:48:50 +01:00
Michael Niedermayer
30d27685b1
segment: fix null ptr deref
...
Fixes CID732220
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 20:26:10 +01:00
Paul B Mahol
962314fe27
AVR demuxer
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-05 17:31:22 +00:00
Piotr Bandurski
461797f6aa
riff: add "lsvm" FourCC for H263.
2012-11-05 17:43:01 +01:00
Michael Niedermayer
9829ec1a9c
ffm: redesign header format to make it extensible
...
Currently FFM files generated with one versions of ffmpeg generally
cannot be read by another.
By spliting data into chunks, more fields can saftely be appended to
chunks as well as new chunks added.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 16:36:44 +01:00
Martin Storsjö
d578f94746
rtmp: Use av_strlcat instead of strncat
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-11-05 15:37:09 +02:00
Clément Bœsch
a8b3130181
lavf/srtdec: recognize subtitles starting at event index 0.
2012-11-05 07:37:45 +01:00
Michael Niedermayer
e82afa3e2d
filmstripenc: fix rounding that caused fate failure
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 00:28:21 +01:00
Michael Niedermayer
a147c1b2b1
oggenc: remove unneeded null check.
...
The code would have segfaulted before if it where null
Fixes CID732218
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-05 00:28:21 +01:00
Paul B Mahol
992a6a53ef
cdxl: add read_probe function
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-04 20:19:43 +00:00
Paul B Mahol
c4dd4f19f3
smush: improve probing
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-04 16:50:58 +00:00
Paul B Mahol
50d3a1a962
vocenc: fix 10l regression
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-04 04:46:10 +00:00
Paul B Mahol
1c5b56eec7
vocenc: abort if unsupported codec is used
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-04 03:59:08 +00:00
Michael Niedermayer
5f53138621
movenc: remove unneeded check
...
Fixes CID741417
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-04 01:03:52 +01:00
Paul B Mahol
94f224516c
westwood_aud: remove stale comment
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-03 14:54:17 +00:00
Michael Niedermayer
2581d9bcbb
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doc: add apidoc target for doxygen API documentation
matroskadec: do not use avpacket internals
Conflicts:
doc/Makefile
libavformat/matroskadec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 14:48:51 +01:00
Michael Niedermayer
37e81996dc
Merge commit '9221efef7968463f3e3d9ce79ea72eaca082e73f'
...
* commit '9221efef7968463f3e3d9ce79ea72eaca082e73f':
lavf: fix av_interleaved_write_frame() doxy.
lavf: clarify the lifetime of demuxed packets.
avconv: do not free muxed packet on streamcopy.
crc: move doxy to the header
vf_drawtext: do not use deprecated av_tree_node_size
x86: Refactor PSWAPD fallback implementations and port to cpuflags
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 14:24:11 +01:00
Michael Niedermayer
b7280cff9a
asfdec: check stream_index for validity
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 05:58:12 +01:00
Michael Niedermayer
e5927910c2
asfdec: flip the interpretation of the header aspect back
...
This reverts 2de8877689
Fixes Ticket 1883
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 05:49:07 +01:00
Michael Niedermayer
343c73e252
asfdec: parse aspect ratio payload extension
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 05:49:07 +01:00
Michael Niedermayer
8c93269e42
asfdec: correctly parse payload extensions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 05:37:18 +01:00
Michael Niedermayer
2d8c76eb1f
asfdec: parse payload extension list
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-03 05:35:35 +01:00
Anton Khirnov
9221efef79
lavf: fix av_interleaved_write_frame() doxy.
...
A sentence was mistakenly inserted in the middle of another sentence.
2012-11-02 18:28:56 +01:00
Anton Khirnov
34871beb5e
matroskadec: do not use avpacket internals
2012-11-02 18:28:56 +01:00
Anton Khirnov
717a450993
lavf: clarify the lifetime of demuxed packets.
2012-11-02 18:28:56 +01:00
Paul B Mahol
c39fb30816
smjpegdec: set nb_frames for video stream
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-11-02 16:32:51 +00:00
Michael Niedermayer
8551c6bec0
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
dv1394: Swap the min and max values of the 'standard' option
rtpdec_vp8: Don't parse fields that aren't used
lavc: add some AVPacket doxy.
audiointerleave: deobfuscate a function call.
rtpdec: factorize identical code used in several handlers
a64: remove interleaved mode.
doc: Point to the new location of the c99-to-c89 tool
decode_audio3: initialize AVFrame
ws-snd1: set channel layout
wmavoice: set channel layout
wmapro: use AVCodecContext.channels instead of keeping a private copy
wma: do not keep private copies of some AVCodecContext fields
Conflicts:
libavcodec/wmadec.c
libavcodec/wmaenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-02 14:57:36 +01:00
Martin Storsjö
2b831a59d9
rtpdec_vp8: Don't parse fields that aren't used
...
This avoids warnings about unused variables.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-11-02 10:59:17 +02:00
Anton Khirnov
fdc8672886
audiointerleave: deobfuscate a function call.
...
right above there is if (pkt) {<do stuff>; pkt = NULL}, so pkt is just a
fancy name for NULL at this point.
2012-11-02 07:58:38 +01:00
Anton Khirnov
179a5c37e0
rtpdec: factorize identical code used in several handlers
2012-11-02 07:58:37 +01:00
Anton Khirnov
f70381ab9d
a64: remove interleaved mode.
...
It has been disabled since it was added two years ago.
2012-11-02 07:58:37 +01:00
Jason
a5f6720f13
Add QT CC track mux support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-02 05:00:27 +01:00
Michael Niedermayer
f742c7b2ce
lavf: fix integer overflow in rfps calculation
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-01 21:37:29 +01:00
Michael Niedermayer
bacebe1f95
avienc: force a valid timebase for video
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-01 20:26:59 +01:00
Michael Niedermayer
304ebed586
mpegts_probe: detect files with garbage at the begin.
...
Fixes Ticket1811
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-01 17:22:04 +01:00
Tomas Härdin
84e7d368d6
mxfdec: Fix inferred misuses of enums
...
This fixes CID 700457, 700458 and 703705.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-01 16:21:12 +01:00
Michael Niedermayer
e5cf100d3d
mpegvideo_probe: check slice order
...
Fixes: Enrique.mp3
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-01 15:08:03 +01:00
Michael Niedermayer
6992b0bfc2
utils: fix rounding of micro seconds
...
Found-by: Johan Wessfeldt <johan.wessfeldt@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-31 19:12:47 +01:00
Stefano Sabatini
be0b37c649
lavf/avienc: fix/extend error message, in case of too large number of skipped frames
2012-10-31 14:46:40 +01:00
Stefano Sabatini
f35d5f966f
lavf/avienc: enable debug log
2012-10-31 14:46:24 +01:00
Michael Niedermayer
f7a9a99661
wavenc: fix curruption of metadata
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30 21:48:39 +01:00
Michael Niedermayer
a201639a01
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
pixfmt: support more yuva formats
swscale: support gray to 9bit and 10bit formats
configure: rewrite print_config() function using awk
FATE: fix (AD)PCM test dependencies broken in e519990
Use ptrdiff_t instead of int for intra pred "stride" function parameter.
x86: use PRED4x4/8x8/8x8L/16x16 macros to declare intrapred prototypes.
Conflicts:
libavcodec/h264pred.c
libavcodec/h264pred_template.c
libavutil/pixfmt.h
libswscale/swscale_unscaled.c
tests/ref/lavfi/pixdesc
tests/ref/lavfi/pixfmts_copy
tests/ref/lavfi/pixfmts_null
tests/ref/lavfi/pixfmts_scale
tests/ref/lavfi/pixfmts_vflip
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30 17:47:36 +01:00
Michael Niedermayer
6f5f7f705d
Merge commit '08b028c18dc31b6de741861b9555669dcca4d12a'
...
* commit '08b028c18dc31b6de741861b9555669dcca4d12a':
Remove INIT_AVX from x86inc.asm.
Remove usage of INIT_AVX in h264_intrapred_10bit.asm.
dv: fix indentation
Conflicts:
libavformat/dv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30 15:28:24 +01:00
Michael Niedermayer
e79c3858b3
Merge commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8'
...
* commit '14f031d7ecfabba0ef02776d4516aa3dcb7c40d8':
dv: use AVStream.index instead of abusing AVStream.id
lavfi: add ashowinfo filter
avcodec: Add a RFC 3389 comfort noise codec
lpc: Add a function for calculating reflection coefficients from samples
lpc: Add a function for calculating reflection coefficients from autocorrelation coefficients
lavr: document upper bound on number of output samples.
lavr: add general API usage doxy
indeo3: remove duplicate capabilities line.
fate: ac3: Add dependencies
Conflicts:
Changelog
doc/filters.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/codec_desc.c
libavcodec/version.h
libavfilter/Makefile
libavfilter/af_ashowinfo.c
libavfilter/allfilters.c
libavfilter/version.h
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30 14:40:22 +01:00
Michael Niedermayer
cd37963684
Merge commit '381dc1a5ec0925b281c573457c413ae643567086'
...
* commit '381dc1a5ec0925b281c573457c413ae643567086':
fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups
fate: Add shorthands for acodec PCM and ADPCM tests
avconv: Drop unused function argument from do_video_stats()
cmdutils: Conditionally compile libswscale-related bits
aacenc: Drop some unused function arguments
rtsp: Avoid a cast when calling strtol
nut: support textual data
nutenc: verbosely report unsupported negative pts
Conflicts:
cmdutils.c
ffmpeg.c
libavformat/nut.c
libavformat/nutenc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-30 13:52:03 +01:00
Luca Barbato
7658295ba3
pixfmt: support more yuva formats
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-30 12:02:42 +01:00
Michael Niedermayer
91295f03d4
mp3dec: remove unused variable
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-29 22:11:21 +01:00
Anton Khirnov
ede4cedf47
dv: fix indentation
2012-10-29 21:35:09 +01:00
Anton Khirnov
14f031d7ec
dv: use AVStream.index instead of abusing AVStream.id
2012-10-29 21:34:05 +01:00
Martin Storsjö
f21d5c905d
rtsp: Avoid a cast when calling strtol
...
This gets rid of this warning:
libavformat/rtsp.c: In function ‘rtsp_parse_transport’:
libavformat/rtsp.c:794: warning: cast discards qualifiers from pointer target type
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-29 17:47:25 +02:00
Tim Nicholson
8a9b48bfa9
movenc: Add required 'prof' atom to 'tapt' atom set.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-29 16:45:37 +01:00
Michael Niedermayer
67420b3de5
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
lavc: add CODEC_CAP_DR1 to all video decoders missing them
rtpdec: Cosmetic cleanup
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-29 13:15:27 +01:00
Luca Barbato
d4bff9f1ab
nut: support textual data
...
Plain text (utf8 encoded) data can be muxed and demuxed in nut.
2012-10-29 12:03:28 +01:00
Luca Barbato
07585ffa62
nutenc: verbosely report unsupported negative pts
...
Additionally use the correct error number.
2012-10-29 10:52:13 +01:00