[FFmpeg-devel] [PATCH] Implement guessed_pts in avcodec_decode_video2.

Michael Niedermayer michaelni
Mon Feb 7 19:35:27 CET 2011


On Mon, Feb 07, 2011 at 06:56:44PM +0100, Nicolas George wrote:
> Le nonidi 19 pluvi?se, an CCXIX, Michael Niedermayer a ?crit?:
> > This passes fate ?
> 
> It does (x86_64, Linux, gcc 4.4.5). Probably, as AVCodecContext is so big it
> goes over the used stack into the environment or something.

Here it overwrote the stack and crashed


> 
> On the other hand, I should have spotted the warning. Sorry.
> 
> Fixed version attached.
> 
> Regards,
> 
> -- 
>   Nicolas George

>  cmdutils.c           |   27 ---------------------------
>  cmdutils.h           |   24 ------------------------
>  ffmpeg.c             |    4 +---
>  ffplay.c             |    7 ++-----
>  libavcodec/avcodec.h |   18 ++++++++++++++++++
>  libavcodec/utils.c   |   43 ++++++++++++++++++++++++++++++++++++++++++-
>  6 files changed, 63 insertions(+), 60 deletions(-)
> ed84f7a047373d262c49206dae53b8c696c003b3  0001-Implement-guessed_pts-in-avcodec_decode_video2.patch
> From e2f238b903ea0e4e26fdb2d97e666b6d8ae5e60b Mon Sep 17 00:00:00 2001
> From: Nicolas George <nicolas.george at normalesup.org>
> Date: Sun, 30 Jan 2011 20:18:31 +0100
> Subject: [PATCH] Implement guessed_pts in avcodec_decode_video2

locally commited, will push if it works

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110207/ab6872b2/attachment.pgp>



More information about the ffmpeg-devel mailing list