[FFmpeg-cvslog] cmdutils: remove outcommented merge trash

Michael Niedermayer git at videolan.org
Mon Jun 20 13:56:08 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 20 13:22:23 2011 +0200| [54dd50d14dc3a3952f7d85165142d02f6ea578d7] | committer: Michael Niedermayer

cmdutils: remove outcommented merge trash

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 cmdutils.c |   36 ------------------------------------
 1 files changed, 0 insertions(+), 36 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index c3c5c0e..cd6d133 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -388,44 +388,8 @@ int opt_default(const char *opt, const char *arg){
         exit(1);
     }
     if (!o) {
-//<<<<<<< HEAD
         fprintf(stderr, "Unrecognized option '%s'\n", opt);
         exit(1);
-/*||||||| merged common ancestors
-        AVCodec *p = NULL;
-        AVOutputFormat *oformat = NULL;
-        while ((p=av_codec_next(p))){
-            const AVClass *c = p->priv_class;
-            if(c && av_find_opt(&c, opt, NULL, 0, 0))
-                break;
-        }
-        if (!p) {
-            while ((oformat = av_oformat_next(oformat))) {
-                const AVClass *c = oformat->priv_class;
-                if (c && av_find_opt(&c, opt, NULL, 0, 0))
-                    break;
-            }
-        }
-        if(!p && !oformat){
-            fprintf(stderr, "Unrecognized option '%s'\n", opt);
-            exit(1);
-        }
-=======
-        AVCodec *p = NULL;
-        AVOutputFormat *oformat = NULL;
-        while ((p=av_codec_next(p))){
-            const AVClass *c = p->priv_class;
-            if(c && av_opt_find(&c, opt, NULL, 0, 0))
-                break;
-        }
-        if (!p) {
-            while ((oformat = av_oformat_next(oformat))) {
-                const AVClass *c = oformat->priv_class;
-                if (c && av_opt_find(&c, opt, NULL, 0, 0))
-                    break;
-            }
-        }
->>>>>>> qatar/master*/
     }
 
  out:



More information about the ffmpeg-cvslog mailing list