98 Commits (6399c17d545e9666e3eece87b136d0107a900c5d)

Author SHA1 Message Date
Baptiste Coudurier 9c5a9e6b48 set mp3 timebase to the lcm of all mp3 sample rates to fix frame duration 15 years ago
Diego Biurrun 0cd0a22488 Move function that is only used by the MP3 muxer below the corresponding #if. 15 years ago
Diego Biurrun ff06d76acd Add '#include "libavutil/intreadwrite.h"', necessary for AV_RB32. 15 years ago
Anton Khirnov 7fd5aeb3e5 Only read ID3v1 tag if ID3v2 isn't present or is empty. 15 years ago
Anton Khirnov 41770abf86 id3v2: Export all text information frames with correct names. 15 years ago
Anton Khirnov 078d89a2b0 MP3 muxer: Write all metadata. 15 years ago
Reimar Döffinger 4b4ac5c7a8 Sync AC3 probe values with MP3 probe values, they have to avoid similar issues. 15 years ago
Anton Khirnov 6378b06208 Add id3v2 metadata conversion table and use it in mp3 muxer. 15 years ago
Diego Biurrun de653ba3bb Place MP3 demuxer code under appropriate #ifdefs. 15 years ago
Justin Ruggles ea25c063c3 10l: set genre default immediately before reading genre tag 15 years ago
Justin Ruggles d891cbb444 Set ID3v1 genre to 0xFF (unknown) by default instead of 0 (Blues). 15 years ago
Michael Niedermayer 1ac9563075 Slighty tweak mp3 probe threshold to prevent probetest from complaining. 15 years ago
Patrick Dehne 50fcd5be36 Move id3v1/id3v2 handling code from mp3.c to id3v[12].c. 16 years ago
Patrick Dehne 7541118286 Move id3v2 parsing code from mp3.c to id3v2.h and id3v2.c. 16 years ago
Michael Niedermayer f9f2ab8229 Require 4 instead of 3 frames for detecting mp3, 16 years ago
Aurelien Jacobs bd51c0138a handle id3v2 'genre' tag formated as '%d' 16 years ago
Diego Biurrun 0ffbc258aa Change a bunch of codec long_names to be more consistent and descriptive. 16 years ago
Alex Converse d0f89acf60 Make the MP3 probe weakly claim all files with ID3v2 tags to fix regressions on 16 years ago
Aurelien Jacobs b3a9e50c10 cosmetics: indentation 16 years ago
Aurelien Jacobs 3b1c4a06f6 simplify usage of dstlen as it is not a parameter anymore 16 years ago
Aurelien Jacobs ee56cab3f3 cosmetics: indentation 16 years ago
Aurelien Jacobs b182eeb08b use new metadata API in the mp3 muxer 16 years ago
Aurelien Jacobs 9d98535ceb use new metadata API in the mp3 demuxer 16 years ago
Aurelien Jacobs 9f5aca8fec don't support the mp3 extension in the mp2 muxer 16 years ago
Andreas Öman cf92cec7d8 Avoid allocating MPADecodeContext on stack. 16 years ago
Alex Converse 38cef58404 Fix a read past end of buffer crash in the mp3 probe 16 years ago
Alex Converse ac3ef4a41b Fix probing of files with ID3v2 tags. Discussed at 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Alex Converse 2ea512a6c2 Factorise id3v2 header parsing from mp3.c to be shared 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Yoav Steinberg 853a97530e If we find a VBR tag at the beginning of the file don't attempt to 16 years ago
Michael Niedermayer c96bd21227 Change mpeg audio parser so it only sets frame_size, channels and bit_rate 16 years ago
Diego Biurrun bc5c918ea8 Remove offset_t typedef and use int64_t directly instead. 16 years ago
Diego Biurrun 8212568a1c Replace generic CONFIG_MUXERS preprocessor conditionals by more specific 16 years ago
Reimar Döffinger 1bef65f4fe Make the id3v1_genre_str array const, not just the strings it points to. 16 years ago
Aurelien Jacobs ea452b54f0 strcasecmp() requires #include <strings.h> 16 years ago
Diego Biurrun 58607ca7d2 Move one function that is only used for muxing below #ifdef CONFIG_MUXERS. 17 years ago
Michael Niedermayer 0328995893 All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable) 17 years ago
Michael Niedermayer d5ae45841f All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas 17 years ago
Baptiste Coudurier 9b64a036c0 remove useless close funcs 17 years ago
Stefano Sabatini bde15e74de Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 17 years ago
Carl Eugen Hoyos d9133126d3 Replace some occurrences of 0 with CODEC_ID_NONE. 17 years ago
Diego Biurrun 245976da2a Use full path for #includes from another directory. 17 years ago
Diego Biurrun ccd425e799 Remove unnecessary parentheses from return calls. 17 years ago
Michael Niedermayer 8df94c73dc Another const found by -Wwrite-strings. 17 years ago
Michael Niedermayer 2db971135a return a slightly larger score if we find more than 500 valid mp3 frames in a row 17 years ago
Michael Niedermayer 5ef5501b71 ensure that the probe code runs in O(n) 17 years ago
Michael Niedermayer 890d2799c1 remove arbitrary 4096 limit for probing 17 years ago
Michael Niedermayer 5110d151b6 prevent O(n^2) execution of ff_mpa_decode_header() for valid mp3 files 17 years ago
Björn Axelsson 899681cd1d Use dynamically allocated ByteIOContext in AVFormatContext 17 years ago