Move ifdef to avoid unused variable warnings.
This commit is contained in:
parent
1795364205
commit
5ce33e6bc5
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user