Browse Source

av_free -> av_freep

Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
e7c8206e5c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/snow.c

+ 3
- 3
libavcodec/snow.c View File

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


#ifdef __sgi #ifdef __sgi


Loading…
Cancel
Save