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

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Mar 19 17:32:23 CET 2011


On date Saturday 2011-03-19 16:43:55 +0100, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Funny & Faithful Mortal Portentous Erotic God



More information about the ffmpeg-devel mailing list