Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 7512:0df2e3079aa4
pass fourcc to lavc
author | michael |
---|---|
date | Thu, 26 Sep 2002 23:53:50 +0000 |
parents | 56a16bd12b79 |
children | 24165f770c0d |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Thu Sep 26 20:37:54 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Sep 26 23:53:50 2002 +0000 @@ -160,6 +160,9 @@ #if LIBAVCODEC_BUILD >= 4614 if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; #endif +#if LIBAVCODEC_BUILD >= 4628 + avctx->fourcc= sh->format; +#endif mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",avctx->width,avctx->height); if (sh->format == mmioFOURCC('R', 'V', '1', '3'))