Skip to content
Permalink
Browse files

fix fate-rv20-1239

  • Loading branch information
ubitux committed Sep 20, 2016
1 parent 632b7ce commit 3a197e7058a88f2f53b40131b5a1342d57d59e5a
Showing with 6 additions and 1 deletion.
  1. +6 −1 ffmpeg_opt.c
@@ -721,7 +721,12 @@ static void add_input_streams(OptionsContext *o, AVFormatContext *ic)
ist->dec = avcodec_find_decoder(par->codec_id);
#if FF_API_EMU_EDGE
if (av_codec_get_lowres(st->codec)) {
st->codec->flags |= CODEC_FLAG_EMU_EDGE;
ist->dec_ctx->lowres = av_codec_get_lowres(st->codec);
ist->dec_ctx->width = st->codec->width;
ist->dec_ctx->height = st->codec->height;
ist->dec_ctx->coded_width = st->codec->coded_width;
ist->dec_ctx->coded_height = st->codec->coded_height;
ist->dec_ctx->flags |= CODEC_FLAG_EMU_EDGE;
}
#endif

0 comments on commit 3a197e7

Please sign in to comment.