On 2012-05-14 19:50:16 +0200, Kostya Shishkov wrote:
> ---
> libavcodec/indeo3.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/libavcodec/indeo3.c b/libavcodec/indeo3.c
> index 1221ffa..e5b2ea7 100644
> --- a/libavcodec/indeo3.c
> +++ b/libavcodec/indeo3.c
> @@ -209,6 +209,7 @@ static av_cold void
> free_frame_buffers(Indeo3DecodeContext *ctx)
> for (p = 0; p < 3; p++) {
> av_freep(&ctx->planes[p].buffers[0]);
> av_freep(&ctx->planes[p].buffers[1]);
> + ctx->planes[p].pixels[0] = ctx->planes[p].pixels[1] = 0;
Do we prefer NULL over 0 for pointers? Not that it makes a difference,
either is ok
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel