[FFmpeg-cvslog] Move ifdef to avoid unused variable warnings.

Reimar Döffinger git at videolan.org
Sat May 7 20:15:00 CEST 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat May  7 19:39:11 2011 +0200| [5ce33e6bc51e853e96c7d4ae5294f52001538373] | committer: Reimar Döffinger

Move ifdef to avoid unused variable warnings.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ce33e6bc51e853e96c7d4ae5294f52001538373
---

 libavformat/mp3enc.c |    2 +-
 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. */



More information about the ffmpeg-cvslog mailing list