From bf7c945fcad050756303a9309424b8b2e1489f7d Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 11 Sep 2003 00:16:33 +0000 Subject: [PATCH] pass stream header FCC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10848 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index e9f0263545..c9a7b568e6 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -212,6 +212,9 @@ static int init(sh_video_t *sh){ 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