Alexandra Hájková
9c1e111406
flac: Convert to the new bitstream reader
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Michael Niedermayer
6567c59c49
avcodec/flac: forward errors from ff_flac_parse_streaminfo()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
020d53ebdb
avcodec/flac: Check bps in ff_flac_parse_streaminfo()
8 years ago
Hendrik Leppkes
2cad7eebc1
avcodec/flac: remove avpriv parsing API cruft
9 years ago
Anton Khirnov
acc897e6b1
lavc: make avpriv_flac_is_extradata_valid() private on the next bump
10 years ago
Anton Khirnov
c070a87515
lavc: make avpriv_flac_parse_streaminfo() private on the next bump
10 years ago
Anton Khirnov
9325d88eba
lavc: remove obsolete and disabled avpriv functions
11 years ago
Anton Khirnov
5fdaf312c5
flac: make avpriv_flac_parse_block_header() inline
...
This avoids all the ABI troubles associated with avpriv_.
Since this function is very small and does not depend on any tables,
making it inline should have no adverse effects.
11 years ago
Anton Khirnov
f13ffb6636
flacdec: do not overwrite a channel layout set by the caller
...
The channel layout mask for non-standard layouts is typically stored at
the container level (as a vorbiscomment tag) for FLAC.
11 years ago
Luca Barbato
0e78ef0f94
flac: use meaningful return values
12 years ago
Tim Walker
9d083d6417
flac: add channel layout masks for streams with 7 or 8 channels.
...
They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Tim Walker
7af876a93f
flac: add channel layout masks for streams with 7 or 8 channels
...
They were added to the latest FLAC specification:
https://git.xiph.org/?p=flac-website.git;a=commit;h=65c199a2
12 years ago
Michael Niedermayer
7efee140d7
get_bits: rename get_bits_longlong to get_bits64
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Justin Ruggles
90fcac0e95
flacdec: allow mid-stream channel layout change
...
Although the libFLAC decoder cannot handle such a change, it is allowed by the
spec and could potentially occur with live streams.
12 years ago
Paul B Mahol
3fa100244f
flac: use get_bits_longlong()
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Diego Biurrun
8eea8fdceb
flac: Move flac functions shared between libraries to flac common code
...
This fixes a number of flac-related build dependencies.
13 years ago
Mans Rullgard
d155b60fc8
flac: make FLAC_CHMODE_* constants consecutive
13 years ago
Michael Niedermayer
388b7ac07a
Revert "Set channel layout in flac decoder."
...
This reverts commit 2ef2496cd1
.
Conflicts:
libavcodec/Makefile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
003e024bfb
Revert "Fix channel layout for some stereo flac files."
...
This reverts commit d2ee3c913d
.
13 years ago
Carl Eugen Hoyos
d2ee3c913d
Fix channel layout for some stereo flac files.
14 years ago
Carl Eugen Hoyos
2ef2496cd1
Set channel layout in flac decoder.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
ed4e1e5833
cosmetics: line wrap after last commit
...
Originally committed as revision 25913 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
3c795698d0
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
...
to optionally silence the error messages.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25912 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
71b6fc216c
Add is_var_size and frame_or_sample_num to FLACFrameInfo and read them in
...
ff_flac_decode_frame_header().
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25911 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
7f4e432148
Check validity of the frame sync code in ff_flac_decode_frame_header().
...
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25910 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Chinen
625daac4bd
Move decode_frame_header() from flacdec.c to flac.c/h to share with the
...
forthcoming FLAC parser.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25909 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
frame size and use the function in the FLAC decoder and FLAC encoder
Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 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
Aurelien Jacobs
08aa2c9bd2
remove dependency of mpeg audio encoder over mpeg audio decoder
...
Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
677fe2e226
add proper prefix to extern mpeg audio data tables
...
Originally committed as revision 9061 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
4991c0516d
move some common mpeg audio tables from mpegaudiodectab.h to mpegaudiodata.c
...
Originally committed as revision 9060 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
07d84a4e9f
check for channels<=0 and print a reasonable error message
...
Originally committed as revision 8857 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ac975ac462
useless as this file wont be compiled if this is not true
...
Originally committed as revision 7816 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roberto Togni
d9b1c197e5
QDM2 compatible decoder
...
Originally committed as revision 4649 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roine Gustafsson
983ea0bc87
a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
...
Originally committed as revision 4213 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Måns Rullgård
88730be651
kill warnings patch by (Måns Rullgård <mru inprovide com>)
...
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
caa336b4cc
common.c -> bitstream.c (and the single non bitstream func -> utils.c)
...
common.h -> common.h/bitstream.h
Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
9fe5a7b831
do not call (av_)abort()
...
Originally committed as revision 3543 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
bb0b93ba81
more info about why init failed
...
Originally committed as revision 3312 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
3d0ef6dd52
av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michel Bardiaux
9b87956678
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Alex Beregszaszi
ed7debda14
removed the obsolete and unused parameters of init_put_bits
...
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago