summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-07 19:39:11 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-05-07 20:14:47 +0200
commit5ce33e6bc51e853e96c7d4ae5294f52001538373 (patch)
tree8e5a0c95d4a7c356296167e82b896930a7debc8e /libavformat
parent179536420543048e9504955177d78365ba9d3722 (diff)
downloadffmpeg-streaming-5ce33e6bc51e853e96c7d4ae5294f52001538373.zip
ffmpeg-streaming-5ce33e6bc51e853e96c7d4ae5294f52001538373.tar.gz
Move ifdef to avoid unused variable warnings.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mp3enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index b13d0a9..0824507 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -397,10 +397,10 @@ static int mp3_write_packet(AVFormatContext *s, AVPacket *pkt)
return ff_raw_write_packet(s, pkt);
else {
MP3Context *mp3 = s->priv_data;
+#ifdef FILTER_VBR_HEADERS
MPADecodeHeader c;
int base;
-#ifdef FILTER_VBR_HEADERS
ff_mpegaudio_decode_header(&c, AV_RB32(pkt->data));
/* filter out XING and INFO headers. */
OpenPOWER on IntegriCloud