Browse Source

examples/muxing: use av_frame_free() in place of av_free()

tags/n2.2-rc1
Stefano Sabatini 11 years ago
parent
commit
8d22d37e54
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      doc/examples/muxing.c

+ 1
- 1
doc/examples/muxing.c View File

@@ -457,7 +457,7 @@ static void close_video(AVFormatContext *oc, AVStream *st)
avcodec_close(st->codec);
av_free(src_picture.data[0]);
av_free(dst_picture.data[0]);
av_free(frame);
av_frame_free(&frame);
}

/**************************************************************/


Loading…
Cancel
Save