On 5 January 2012 22:46, Janne Grunau <[email protected]> wrote: > On 2012-01-05 22:34:07 +0100, Kostya Shishkov wrote: >> On 5 January 2012 22:15, Janne Grunau <[email protected]> wrote: >> > From: Michael Niedermayer <[email protected]> >> > >> > Bug found by: Oana Stratulat >> > >> > Signed-off-by: Janne Grunau <[email protected]> >> > --- >> > libavcodec/ivi_common.c | 3 +++ >> > 1 files changed, 3 insertions(+), 0 deletions(-) >> > >> > diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c >> > index 9cec0a8..eedcd28 100644 >> > --- a/libavcodec/ivi_common.c >> > +++ b/libavcodec/ivi_common.c >> > @@ -611,6 +611,9 @@ void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t >> > *dst, int dst_pitch) >> > const int16_t *src = plane->bands[0].buf; >> > uint32_t pitch = plane->bands[0].pitch; >> > >> > + if (!src) >> > + return; >> > + >> > for (y = 0; y < plane->height; y++) { >> > for (x = 0; x < plane->width; x++) >> > dst[x] = av_clip_uint8(src[x] + 128); >> > -- >> >> I'd like to investigate it, this looks suspicious (having NULL pointer >> at this point). > > This happens after decode_band failed in the previous decode_frame call. > > zzuf-ed sample file is in http://ffmpeg.org/trac/ffmpeg/ticket/803
fine with me then _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
