Alex Converse
ac3ef4a41b
Fix probing of files with ID3v2 tags. Discussed at
...
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-January/059302.html
Originally committed as revision 16688 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
2ea512a6c2
Factorise id3v2 header parsing from mp3.c to be shared
...
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 16615 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Yoav Steinberg
853a97530e
If we find a VBR tag at the beginning of the file don't attempt to
...
parse it as a valid frame.
patch by (Yoav Steinberg yoav out monfort in co in il)
Originally committed as revision 16421 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c96bd21227
Change mpeg audio parser so it only sets frame_size, channels and bit_rate
...
after it has a few valid frames.
Fixes issue762
Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bc5c918ea8
Remove offset_t typedef and use int64_t directly instead.
...
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8212568a1c
Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
...
CONFIG_FOO_MUXER conditionals where appropriate.
Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
1bef65f4fe
Make the id3v1_genre_str array const, not just the strings it points to.
...
Originally committed as revision 14942 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
ea452b54f0
strcasecmp() requires #include <strings.h>
...
Originally committed as revision 14728 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
58607ca7d2
Move one function that is only used for muxing below #ifdef CONFIG_MUXERS.
...
Originally committed as revision 14164 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0328995893
All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable)
...
Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d5ae45841f
All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas
...
and found by reimar) fix is from reimar + cosmetics by me.
Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
9b64a036c0
remove useless close funcs
...
Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
d9133126d3
Replace some occurrences of 0 with CODEC_ID_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13135 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8df94c73dc
Another const found by -Wwrite-strings.
...
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2db971135a
return a slightly larger score if we find more than 500 valid mp3 frames in a row
...
Originally committed as revision 11148 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5ef5501b71
ensure that the probe code runs in O(n)
...
Originally committed as revision 11147 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
890d2799c1
remove arbitrary 4096 limit for probing
...
Originally committed as revision 11145 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5110d151b6
prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files
...
Originally committed as revision 11144 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
d638424b8a
cosmetics: whitespace
...
Originally committed as revision 11028 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
bd59786204
remove unnecessary -1 from snprintf len
...
Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Patrice Bensoussan
bd548b99aa
Add support for ID3v2 year tag
...
Patch by: patrice bensoussan a free d fr
Originally committed as revision 11008 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
5b5bd7c9ee
make sure the mpeg audio header is valid before passing it to ff_mpegaudio_decode_header()
...
Originally committed as revision 10925 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
8862fb41e0
add support for reading duration from VBRI-tag in mp3 files
...
Originally committed as revision 10851 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
478638abad
fix indent
...
Originally committed as revision 10847 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
db233e832f
cosmetical change of mp3_parse_xing() to prepare for upcoming VBRI tag support
...
Originally committed as revision 10846 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Andreas Öman
ca851a3a08
add support for reading duration from Xing-tag in mp3 files
...
Originally committed as revision 10845 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Thorsten Jordan
f97931c122
set start_time to 0 to enable seeking in mp3-files
...
patch by Thorsten Jordan, tjordan macrosystem de
Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
c6377f6143
do not write id3v2 header when writing .mp2 files
...
Originally committed as revision 9924 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
769e10f068
Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
...
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
ea7599ba8b
kill uninitialised variable warning in mp3_read_probe()
...
Originally committed as revision 9540 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
c21f308e77
* Getting rid of the use of GCC language extensions
...
Originally committed as revision 9531 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ronald S. Bultje
80fb82346e
Use AV_RB* macros where appropriate.
...
patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400
Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
75e61b0e88
use new string functions
...
based on patch by Reimar Döffinger
Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Andreas Öman
0dc56bfae0
id3v2 writer
...
patch by Andreas Ãman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2
Originally committed as revision 9102 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Andreas Öman
52b53f8653
id3v2 reader
...
patch by Andreas Ãman andreas olebyn nu
original thread: [FFmpeg-devel] [Ffmpeg-devel] ID3v2
Originally committed as revision 9101 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Andreas Öman
cb2578d5ef
cosmetic v1/v2 renaming
...
patch by Andreas Ãman andreas olebyn nu
Originally committed as revision 9100 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
ca6e50afc1
add a ff_ prefix to some mpegaudio funcs
...
Originally committed as revision 9081 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
89ecc26188
Fix two small typos in comment
...
Originally committed as revision 8920 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
57004ff1d7
add an enum for need_parsing
...
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
87e8788680
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks
...
Originally committed as revision 8677 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e9b78eeba2
better generic index building and seeking code
...
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
6ebe07fbb5
variable renaming: mp3lame --> libmp3lame
...
Originally committed as revision 7417 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1f51da1b4a
fix missdetection of mpeg-ps (ps2_interdite.mpg)
...
Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago