[FFmpeg-devel] [PATCH] ffplay: add existence check on ic->pb in decode_thread()

Michael Niedermayer michaelni at gmx.at
Sat Mar 19 16:43:55 CET 2011


On Sat, Mar 19, 2011 at 03:44:26PM +0100, Stefano Sabatini wrote:
> Fix crash if ic->pb is NULL and ic->pb->error is evaluated. This
> happens for example with: ffplay photo.jpeg.
> ---
>  ffplay.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

LGTM

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

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110319/2de48164/attachment-0001.asc>


More information about the ffmpeg-devel mailing list