[SCM] libav/experimental: fixed InputFormat option, which was never working

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:59:06 UTC 2013


The following commit has been merged in the experimental branch:
commit d2040a8fb6424a8a6917e24f91047c5b0790aa75
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Sun Apr 22 17:48:23 2007 +0000

    fixed InputFormat option, which was never working
    
    Originally committed as revision 8784 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index f84b87f..682addc 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4024,6 +4024,7 @@ static int parse_ffconfig(const char *filename)
                 video_id = stream->fmt->video_codec;
             }
         } else if (!strcasecmp(cmd, "InputFormat")) {
+            get_arg(arg, sizeof(arg), &p);
             stream->ifmt = av_find_input_format(arg);
             if (!stream->ifmt) {
                 fprintf(stderr, "%s:%d: Unknown input format: %s\n",

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list