Move ifdef to avoid unused variable warnings.

This commit is contained in:
Reimar Döffinger 2011-05-07 19:39:11 +02:00
parent 1795364205
commit 5ce33e6bc5

View File

@ -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. */