# HG changeset patch # User michael # Date 1092353808 0 # Node ID 10d28761f78c620138f41ae1da3939157d5fc913 # Parent 5ca07515a3093a60414f5bd1c22b5b2ec75211c0 give the user a chance to override codec_tag diff -r 5ca07515a309 -r 10d28761f78c raw.c --- a/raw.c Wed Aug 11 19:32:34 2004 +0000 +++ b/raw.c Thu Aug 12 23:36:48 2004 +0000 @@ -151,7 +151,8 @@ avctx->coded_frame = (AVFrame *)avctx->priv_data; avctx->coded_frame->pict_type = FF_I_TYPE; avctx->coded_frame->key_frame = 1; - avctx->codec_tag = findFourCC(avctx->pix_fmt); + if(!avctx->codec_tag) + avctx->codec_tag = findFourCC(avctx->pix_fmt); return 0; }