Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 10847:98dc548dbf2d
pass stream header FCC
author | michael |
---|---|
date | Thu, 11 Sep 2003 00:16:33 +0000 |
parents | 3a6ed2ad244d |
children | 6e35326c742f |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Wed Sep 10 14:56:56 2003 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Sep 11 00:16:33 2003 +0000 @@ -212,6 +212,9 @@ avctx->error_resilience= lavc_param_error_resilience; if(lavc_param_gray) avctx->flags|= CODEC_FLAG_GRAY; avctx->codec_tag= sh->format; +#if LIBAVCODEC_BUILD >= 4679 + avctx->stream_codec_tag= sh->video.fccHandler; +#endif avctx->idct_algo= lavc_param_idct_algo; avctx->error_concealment= lavc_param_error_concealment; #if LIBAVCODEC_BUILD >= 4642