summaryrefslogtreecommitdiff
path: root/modules/avformat/avf.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/avformat/avf.c')
-rw-r--r--modules/avformat/avf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/avformat/avf.c b/modules/avformat/avf.c
index 9336a4f..3c4cc41 100644
--- a/modules/avformat/avf.c
+++ b/modules/avformat/avf.c
@@ -190,7 +190,7 @@ static void handle_packet(struct vidsrc_st *st, AVPacket *pkt)
#if LIBAVUTIL_VERSION_INT >= ((52<<16)+(20<<8)+100)
av_frame_free(&frame);
#else
- avcodec_free_frame(&frame);
+ av_free(frame);
#endif
}
}