On Aug 13, 2012, at 6:09 PM, Ronald S. Bultje wrote:
> Hi,
> On Mon, Aug 13, 2012 at 7:17 AM, Sebastien Zwickert <[email protected]> 
> wrote:
>> +    if (vda_ctx->priv_bitstream)
>> +        av_freep(&vda_ctx->priv_bitstream);
> 
> av_free() (called by av_freep()) already checks for NULL, no need to do that.

Useless check removed locally, I'll send an updated patch.

--
Sebastien Zwickert


_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to