Commit 5ce33e6b authored by Reimar Döffinger's avatar Reimar Döffinger

Move ifdef to avoid unused variable warnings.

parent 17953642
...@@ -397,10 +397,10 @@ static int mp3_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -397,10 +397,10 @@ static int mp3_write_packet(AVFormatContext *s, AVPacket *pkt)
return ff_raw_write_packet(s, pkt); return ff_raw_write_packet(s, pkt);
else { else {
MP3Context *mp3 = s->priv_data; MP3Context *mp3 = s->priv_data;
#ifdef FILTER_VBR_HEADERS
MPADecodeHeader c; MPADecodeHeader c;
int base; int base;
#ifdef FILTER_VBR_HEADERS
ff_mpegaudio_decode_header(&c, AV_RB32(pkt->data)); ff_mpegaudio_decode_header(&c, AV_RB32(pkt->data));
/* filter out XING and INFO headers. */ /* filter out XING and INFO headers. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment