summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudio.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-21 23:50:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-21 23:50:16 +0000
commitc96bd21227e594856f8fd0610fd213b002056383 (patch)
treeab1101185b5e2e6c76c3124296dd34c2a9bf1284 /libavcodec/mpegaudio.h
parentaf4c0bcb6ed6f3d679dddfe9c4fd4f73f84fcabc (diff)
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
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r--libavcodec/mpegaudio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h
index 21de2da20d..33af18dc1a 100644
--- a/libavcodec/mpegaudio.h
+++ b/libavcodec/mpegaudio.h
@@ -128,7 +128,7 @@ typedef struct HuffTable {
} HuffTable;
int ff_mpa_l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
-int ff_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate);
+int ff_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate, int *channels, int *frame_size, int *bitrate);
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,