From ee731c1ab071ee51839fd6c2db15dc719349ebb2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 12 Dec 2011 17:30:55 +0100 Subject: ffmpeg: fix codecids with ffserver + ffmpeg + ffm Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index daa014b0e6..9154f3cb4a 100644 --- 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)); -- cgit v1.2.3