Commit 986ec615 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/ffmpeg/video.c: don't need to modify width/height anymore with lowres.

parent dddd969a
...@@ -152,11 +152,6 @@ static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec, ...@@ -152,11 +152,6 @@ static inline picture_t *ffmpeg_NewPictBuf( decoder_t *p_dec,
return NULL; /* invalid display size */ return NULL; /* invalid display size */
} }
#if LIBAVCODEC_BUILD >= 4723
p_dec->fmt_out.video.i_width >>= p_context->lowres;
p_dec->fmt_out.video.i_height >>= p_context->lowres;
#endif
if( !p_dec->fmt_out.i_codec ) if( !p_dec->fmt_out.i_codec )
{ {
/* we make conversion if possible*/ /* we make conversion if possible*/
......
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