Tobias Rapp
0f39fa0279
mp3enc: avoid truncating id3v1 tags by one byte
Avoid writing the trailing null-byte for id3v1 tags if length reaches max length.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
33789862aa
mmsh_read_seek: skip header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
237bcaa275
mmsh:_implement a minimal mmsh_seek() so the stream position can be found out.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
60fcc19bff
asfdec: Check packet_replic_size earlier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8475ec190c
mmsh: mmsh_read_seek()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
86a4e55e66
mmsh: split out mmsh_open_internal()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
aedb87c57e
mmsh: move location storage into context
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Vladimir Voroshilov
02fa529539
Fix deprecated warnings in .bit (de)muxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anssi Hannula
ab9c00b992
spdifenc: use special alignment for DTS-HD length_code
Align IEC 61937 length_code for DTS-HD so that
(length_code & 0xf) == 0x8. This is reportedly needed with some
receivers.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
13 years ago
Carl Eugen Hoyos
86931dc930
Bump libavformat minor version for the G.729 raw demuxer.
13 years ago
Justin Ruggles
44d2a982ac
dsicin: fix several audio-related fields in the CIN demuxer
bits_per_coded_sample should be 8.
block_align is calculated incorrectly, but it is not needed anyway.
packet pts should be calculated in samples.
packet duration can be set.
13 years ago
Vladimir Voroshilov
0fd59f1d45
Minimal patch for G.729 demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Benjamin Larsson
69e7ad8dbc
mov: Avoid divide by zero in edit list dts handling
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Hendrik Leppkes
8689d87ac6
Revert "matroskadec: forward parsing errors to caller."
This reverts commit 5dd514af93
.
Silently ignoring errors allows some broken files to simply be played, instead of failing.
(cherry picked from commit 7804b06933
)
The intended goal (as confirmed with its author) of fixing a crash has been
fixed differently prior to the application of this patch and this patch does
notsucessfully propagate parse errors either.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Reimar Döffinger
eac778deb3
Some minor spelling fixes.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Carl Eugen Hoyos
7e05542aea
Add Vladimir Voroshilov's copyright header to bit.c.
13 years ago
Ronald S. Bultje
38a4be3fa7
lavf: use number of output pictures for delay checks.
This fixes false positives of has_codec_delay_been_guessed() for
streams where not every input picture generates an output picture,
such as interlaced H264.
13 years ago
Alex Converse
61856d06eb
probe: Restore identification of files with very large id3 tags and no extension.
Restore behavior of identifying files with huge id3 tags as
mp3 at AVPROBE_SCORE_MAX/4. This was broken in r25378 and subsequently
removed in r25929.
13 years ago
Alex Converse
7a773d4d59
probe: Remove id3 tag presence as a criteria to do file extension checking.
This only encourages our users to put id3v2 tags on non-mp3 files to opt
into extension based probing.
13 years ago
Alex Converse
ca65932bbf
mpegts: MP4 SL support
13 years ago
Alex Converse
c530267024
mpegts: MP4 OD support
13 years ago
Alex Converse
4682a1dc3a
mpegts: Add support for Sections in PMT
13 years ago
Alex Converse
fec2836483
mpegts: Replace the MP4 descriptor parser with a recursive parser.
13 years ago
Alex Converse
c3bc6096f2
mpegts: Add support for multiple mp4 descriptors
13 years ago
Alex Converse
476d04a56a
mpegts: Parse mpeg2 SL descriptors.
13 years ago
Alex Converse
77b5c82b49
isom: Add MPEG4SYSTEMS dummy object type indication.
13 years ago
Anton Khirnov
ed1aa89217
lavf: add init_put_byte() to the list of visible symbols.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
854eadccb6
lavf: add init_put_byte() to the list of visible symbols.
13 years ago
Janne Grunau
c12ef64d69
seek-test: free options dictionary after use
13 years ago
Janne Grunau
d88e9f1c07
seek-test: update to recent avformat api
13 years ago
Anton Khirnov
9a174562e4
lavf: move private fields in AVStream to the end at next bump.
13 years ago
Anton Khirnov
df968050ab
lavf: move private fields in AVFormatContext to the end at next bump.
13 years ago
Anton Khirnov
a2faa95151
lavf: make some seeking functions private
Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().
They are not supposed to be called outside lavf.
13 years ago
Stefano Sabatini
aa638b4600
rawdec: add check on sample_rate
Prevent error condition in case sample_rate is unset or set to a negative
value. In particular, fix divide-by-zero error occurring in ffmpeg due to
sample_rate set to 0 in output_packet(), in code:
ist->next_pts += ((int64_t)AV_TIME_BASE * ist->st->codec->frame_size) /
ist->st->codec->sample_rate;
Fix trac ticket #324 .
13 years ago
Hendrik Leppkes
b76bc01034
Implement parsing of the "HandlerName" from th MP4 HDLR atom.
This atom typically is used for a track title.
(cherry picked from commit a356137816
)
Reviewed-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Yusuke Nakamura
05e417aa63
mov: Support empty first edit + normal second edit.
(cherry picked from commit df342c91e6
)
Reviewed-by: Baptiste Coudurier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
c643ba8128
mpegts: Fix detection of some raw AAC
Fixes Ticket577
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Janne Grunau
cf543c6574
iv8: assemble packets to return complete frames
13 years ago
David Conrad
1c5670dbb2
Timecode v2 muxer
(cherry picked from commit 79ca161498
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
16 years ago
Michael Niedermayer
742d218bf1
avidec: Return correct error code from avi_sync() in case of IO error.
Found-by: Tanami, Ohad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
3a56169fec
movenc: reserved_moov_size, which allows placing moov at the begin of the file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
f540ca22c5
tta: check for extradata allocation failure in tta demuxer
13 years ago
Anton Khirnov
3d813e4c54
lavf: deprecate AVStream.stream_copy
It's only used in avconv, so it properly belongs to OutputStream struct
there.
13 years ago
Anton Khirnov
a75034300f
lavf: simplify by using FFMAX/FFMIN.
13 years ago
Anton Khirnov
f172132f82
mpegenc: add preload private option.
Deprecate AVFormatContext.preload.
13 years ago
Nicolas George
cf88cf17d0
Remove CELT / Opus confusion in labels, doc and comments.
The situation was not clear when support was added but it is now:
CELT and Opus are really two different codecs.
The current code supports CELT via libcelt, not Opus.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Hendrik Leppkes
d1ee98c94b
mpegts: add BDMV secondary audio stream types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Hendrik Leppkes
463c8d8621
mpegts: fix null-pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Karcher
16ad77b357
Move id3v2 tag writing to a separate file.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Carl Eugen Hoyos
9e8dff90ef
Revert "mov: do not misreport empty stts"
Fixes ticket #578 .
This reverts commit 30c3d976f1
.
13 years ago