[FFmpeg-devel] [PATCH 2/2] lavf/swfdec: support DefineBitsLossless{, 2} tag.
Clément Bœsch
ubitux at gmail.com
Sat Oct 13 11:58:32 CEST 2012
On Sat, Oct 13, 2012 at 07:40:00AM +0000, Paul B Mahol wrote:
[...]
> > height);
> > +
> > + res = pkt->size;
> > +
> > +bitmap_end:
> > + av_freep(&zbuf);
> > + av_freep(&buf);
> > + return res;
> > +bitmap_end_skip:
> > + av_freep(&zbuf);
> > + av_freep(&buf);
>
> Freeing random stuff is bad idea.
Fixed locally:
- uint8_t *buf, *zbuf, *pal;
+ uint8_t *buf = NULL, *zbuf = NULL, *pal;
Thanks
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121013/6839b409/attachment.asc>
More information about the ffmpeg-devel
mailing list