Reimar Döffinger
98422c44cf
Fix possible buffer over-read in vorbis_comment, fix it double to be sure.
...
First, make s signed, so that comparisons against end - p will not be made as
unsigned, making the check incorrectly pass if p is beyond end.
Also ensure that p will never be > end, so the code is correct also if
buf is not padded.
Originally committed as revision 20014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-24 15:37:09 +00:00
Reimar Döffinger
7d507ceb79
Correctly print number of remaining bytes in oggparsevorbis instead of always
...
with inverted sign.
Originally committed as revision 19978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-23 09:18:23 +00:00
Justin Ruggles
d7bb185f99
Add a VorbisComment metadata conversion table and use it in the FLAC and
...
Ogg demuxers.
Originally committed as revision 19186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-13 22:45:58 +00:00
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:20:26 +00:00
Justin Ruggles
e3b446498a
use av_malloc() in vorbis_comment()
...
Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-12 21:39:37 +00:00
Aurelien Jacobs
bf6c32fe50
use new metadata API in ogg/vorbis demuxer
...
Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-11 23:34:57 +00:00
Diego Biurrun
9686df2be5
Delete unnecessary 'extern' keywords.
...
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Måns Rullgård
77be08eeb1
OGG: untypedef demuxer structs
...
Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-06 01:50:56 +00:00
Reimar Döffinger
547ea47d4f
Add ff_ prefix to ogg_codec_t structs
...
Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 17:37:43 +00:00
Reimar Döffinger
cd34bc7617
Make ogg_codec_t descriptions const
...
Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-24 17:09:15 +00:00
Siarhei Siamashka
589790c294
OGG: Add padding at end of Vorbis headers
...
Patch by Siarhei Siamashka <siarhei.siamashka gmail com>
Originally committed as revision 14249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-15 23:00:29 +00:00
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Baptiste Coudurier
47a0513b0c
const
...
Originally committed as revision 11762 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 15:17:32 +00:00
Diego Biurrun
a0ddef24ce
Rename ogg2.[ch] to oggdec.[ch].
...
Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-07 20:22:32 +00:00
Måns Rullgård
972c5f9e10
simply buffer checks in vorbis_comment()
...
Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:43:03 +00:00
Måns Rullgård
0a770ae7b4
use bytestream_get_* in vorbis_comment()
...
Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-13 11:42:06 +00:00
Måns Rullgård
736e63edc8
check values more thoroughly in vorbis_header()
...
Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:36 +00:00
Måns Rullgård
739587bf04
use bytestream_get_* in vorbis_header()
...
Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:34 +00:00
Måns Rullgård
f5475e1b38
fix buffer overread with invalid Vorbis header
...
Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:59:31 +00:00
Måns Rullgård
62f2c069b8
remove duplicate Vorbis comment tag handling
...
Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-10 22:58:16 +00:00
Måns Rullgård
19f4cecafa
warnings--
...
Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:18 +00:00
Måns Rullgård
4bd684bc2f
whitespace cosmetics
...
Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:17 +00:00
Måns Rullgård
1eb1f6fdb8
use AV_RL32
...
Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:20:16 +00:00
Måns Rullgård
d66c30adec
use more Vorbis metadata tags
...
Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:12:04 +00:00
Måns Rullgård
d367783979
replace strncpy with av_strlcpy
...
Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-24 12:11:45 +00:00
Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:47:39 +00:00
Måns Rullgård
3644cb8ff9
set stream time_base properly
...
Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-05-12 00:50:43 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
01f4895c68
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
...
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Måns Rullgård
ad2b531d3f
change extradata format for vorbis
...
Originally committed as revision 4235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-13 18:10:23 +00:00
Måns Rullgård
056f6179f0
s/u_char/uint8_t/
...
Originally committed as revision 4121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-10 18:03:06 +00:00
Måns Rullgård
9146ca3700
Ogg demuxer ported from tcvp by Luca Barbato <lu_zero at gentoo dot org>,
...
fixups by me.
Originally committed as revision 4113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-09 15:32:58 +00:00