[Ffmpeg-cvslog] r7585 - trunk/libavcodec/h264.c
Michael Niedermayer
michaelni
Fri Jan 19 12:37:14 CET 2007
Hi
On Fri, Jan 19, 2007 at 10:37:08AM +0100, gpoirier wrote:
> Author: gpoirier
> Date: Fri Jan 19 10:37:04 2007
> New Revision: 7585
>
> Modified:
> trunk/libavcodec/h264.c
>
> Log:
> harden h264 decoding to prevent some crashes when input data is corrupted.
> Patch by Frank %eucloid A gmail P com%
> date: Jan 18, 2007 6:48 PM
> subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
> AND
> date: Jan 17, 2007 8:22 PM
> subject: [Ffmpeg-devel] h264, protection against corrupted data
>
>
> Modified: trunk/libavcodec/h264.c
> ==============================================================================
> --- trunk/libavcodec/h264.c (original)
> +++ trunk/libavcodec/h264.c Fri Jan 19 10:37:04 2007
[...]
> @@ -4521,8 +4532,8 @@
> return -1;
> }
>
> - if(h->dequant_coeff_pps != pps_id){
> - h->dequant_coeff_pps = pps_id;
> + if(h->dequant_coeff_pps != (int)pps_id){
> + h->dequant_coeff_pps = (int)pps_id;
argh ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070119/104f1b32/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list