mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
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);
|
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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user