changeset 10847:98dc548dbf2d

pass stream header FCC
author michael
date Thu, 11 Sep 2003 00:16:33 +0000
parents 579c83157193
children 5844bf004dec
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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