[Ffmpeg-devel] [PATCH] do not modify avctx codec_tag

Baptiste Coudurier baptiste.coudurier
Mon Nov 6 15:53:45 CET 2006


Hi

This patch adds 2 private fields in MpegEncContext to avoid altering
AVCodecContext->codec_tag. I did not modifiy VCR2 case in mpeg12.c cause
it seems that MPV_common_init is not called before the check, so
previous modification had no effect.

I don't really know samples which needed those checks, so... something
might be wrong.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dont_modify_avctx_tags.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061106/1d385628/attachment.txt>



More information about the ffmpeg-devel mailing list