pass stream header FCC

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10848 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-09-11 00:16:33 +00:00
parent 1879e4e9f7
commit bf7c945fca
1 changed files with 3 additions and 0 deletions

View File

@ -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