Commit ee731c1a authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix codecids with ffserver + ffmpeg + ffm

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8349dbfe
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment