Browse Source

Use av_freep() in ff_parse_close().

Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
c8714ea1b3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/parser.c

+ 1
- 1
libavcodec/parser.c View File

@@ -291,7 +291,7 @@ void ff_parse_close(AVCodecParserContext *s)
{
ParseContext *pc = s->priv_data;

av_free(pc->buffer);
av_freep(&pc->buffer);
}

void ff_parse1_close(AVCodecParserContext *s)


Loading…
Cancel
Save