[FFmpeg-cvslog] Revert buggy hunk that leaked in from a libav merge.

Michael Niedermayer git at videolan.org
Wed Apr 27 14:08:13 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Apr 27 14:03:37 2011 +0200| [0886267e3cc4ce12bcd48b712d8affa8c953bc38] | committer: Michael Niedermayer

Revert buggy hunk that leaked in from a libav merge.
This unbreaks compilation with --disable-avfilter.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 ffmpeg.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 5481ac2..bf0133e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2908,10 +2908,6 @@ static void opt_frame_aspect_ratio(const char *arg)
         ffmpeg_exit(1);
     }
     frame_aspect_ratio = ar;
-
-    x = vfilters ? strlen(vfilters) : 0;
-    vfilters = av_realloc(vfilters, x+100);
-    snprintf(vfilters+x, x+100, "%csetdar=%f\n", x?',':' ', ar);
 }
 
 static int opt_metadata(const char *opt, const char *arg)



More information about the ffmpeg-cvslog mailing list