av_free -> av_freep

Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-03-11 00:19:32 +00:00
parent 87f20c2f31
commit e7c8206e5c
1 changed files with 3 additions and 3 deletions

View File

@ -573,12 +573,12 @@ static void slice_buffer_destroy(slice_buffer * buf)
for (i = buf->data_count - 1; i >= 0; i--)
{
assert(buf->data_stack[i]);
av_free(buf->data_stack[i]);
av_freep(&buf->data_stack[i]);
}
assert(buf->data_stack);
av_free(buf->data_stack);
av_freep(&buf->data_stack);
assert(buf->line);
av_free(buf->line);
av_freep(&buf->line);
}
#ifdef __sgi