[FFmpeg-devel] [FFmpeg-cvslog] Implement guessed_pts in avcodec_decode_video2

Michael Niedermayer michaelni
Fri Feb 11 03:04:23 CET 2011


On Wed, Feb 09, 2011 at 03:47:43PM +0100, Nicolas George wrote:
> Someone wrote me in private:
> > This causes ffplay to crash with only-audio files as "is->video_st"
> > isn't accessable.
> 
> Well spotted. The attached patch fixes it.
> 
> Regards,
> 
> -- 
>   Nicolas George

>  ffplay.c |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 23c91ffed5d72a0c93c0e6d4f2373220913156fd  0001-ffplay-stats-do-not-dereference-NULL-video.patch
> From 331370d6e519c4d6d7a531838c4dc80888ca59a0 Mon Sep 17 00:00:00 2001
> From: Nicolas George <nicolas.george at normalesup.org>
> Date: Tue, 8 Feb 2011 11:57:08 +0100
> Subject: [PATCH] ffplay: stats: do not dereference NULL video
> 
> Also: cosmetic: split this overly long line
> 

LGTM, but you can commit such trivial fixes to ffmpeg at videolan without sending
patches

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

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- 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/20110211/704961e9/attachment.pgp>



More information about the ffmpeg-devel mailing list