[xiph-commits] r14847 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Wed May 7 07:43:10 PDT 2008


Author: j
Date: 2008-05-07 07:43:09 -0700 (Wed, 07 May 2008)
New Revision: 14847

Modified:
   trunk/ffmpeg2theora/ffmpeg2theora.c
Log:
remove unused frame buffer

Modified: trunk/ffmpeg2theora/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/ffmpeg2theora.c	2008-05-07 13:45:00 UTC (rev 14846)
+++ trunk/ffmpeg2theora/ffmpeg2theora.c	2008-05-07 14:43:09 UTC (rev 14847)
@@ -901,7 +901,6 @@
 
     if (this->video_index >= 0 || this->audio_index >=0){
         AVFrame *frame=NULL;
-        AVFrame *frame_tmp=NULL;
         AVFrame *output=NULL;
         AVFrame *output_tmp=NULL;
         AVFrame *output_resized=NULL;
@@ -935,8 +934,6 @@
         if(!info.audio_only){
             frame = frame_alloc(vstream->codec->pix_fmt,
                             vstream->codec->width,vstream->codec->height);
-            frame_tmp = frame_alloc(vstream->codec->pix_fmt,
-                            vstream->codec->width,vstream->codec->height);
             output_tmp =frame_alloc(this->pix_fmt,
                             vstream->codec->width,vstream->codec->height);
             output =frame_alloc(this->pix_fmt,



More information about the commits mailing list