Skip to content

Commit

Permalink
fix fate-rv20-1239
Browse files Browse the repository at this point in the history
  • Loading branch information
ubitux committed Sep 20, 2016
1 parent 632b7ce commit 3a197e7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ffmpeg_opt.c
Expand Up @@ -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

Expand Down

0 comments on commit 3a197e7

Please sign in to comment.