diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-30 02:19:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-30 02:19:55 +0000 |
commit | 498c544ad20be3e5ebf9c481cc239958399fba12 (patch) | |
tree | 286002226bf9acd609bf5a6ffecd33d19ac3362f /libavcodec/mpegaudio.h | |
parent | c0d8052b501bb07ccc379f0967ffe9bb2c77e606 (diff) | |
download | ffmpeg-498c544ad20be3e5ebf9c481cc239958399fba12.tar.gz |
dont set the sampling rate just because 1 mp3 packet header says so (fixes playback speed on some old mencoder generated avis which where then dumped to mp3)
Originally committed as revision 6837 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r-- | libavcodec/mpegaudio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index 9f6d73cac4..3eadf92a81 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -72,7 +72,7 @@ typedef int32_t MPA_INT; #endif int l2_select_table(int bitrate, int nb_channels, int freq, int lsf); -int mpa_decode_header(AVCodecContext *avctx, uint32_t head); +int mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate); void ff_mpa_synth_init(MPA_INT *window); void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset, MPA_INT *window, int *dither_state, |