]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: fix codecids with ffserver + ffmpeg + ffm
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Dec 2011 16:30:55 +0000 (17:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Dec 2011 16:30:55 +0000 (17:30 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index daa014b0e6a7bf4d64593c51889121ae336f99b6..9154f3cb4adb26176ef654898f90220821ccd094 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3962,6 +3962,7 @@ static int read_ffserver_streams(OptionsContext *o, AVFormatContext *s, const ch
         ost   = new_output_stream(o, s, codec->type);
         st    = ost->st;
         avctx = st->codec;
+        ost->enc = codec;
 
         // FIXME: a more elegant solution is needed
         memcpy(st, ic->streams[i], sizeof(AVStream));