summaryrefslogtreecommitdiff
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-02-07 04:21:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-07 04:21:05 +0000
commit2d9aa1e3a24e8640e0527a4def4b5e93a80142a4 (patch)
tree76b48ecc94aa91a1ee6e71900f3a4edb70dd462f /libavformat/flvenc.c
parentd3e18ad02795f9761b7e5a5c018dfef786046acf (diff)
100l
Originally committed as revision 2758 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index b544b55568..d6973f697a 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -300,7 +300,7 @@ static int flv_write_packet(AVFormatContext *s, int stream_index,
/* copy out mp3 header from ring buffer */
uint8_t header[4];
for (c=0; c<4; c++) {
- header[c] = flv->audio_fifo[(flv->audioInPos+c) % AUDIO_FIFO_SIZE];
+ header[c] = flv->audioFifo[(flv->audioInPos+c) % AUDIO_FIFO_SIZE];
}
if ( mp3info(header,&mp3FrameSize,&mp3SamplesPerFrame,&mp3SampleRate,&mp3IsMono) ) {