summaryrefslogtreecommitdiff
path: root/libavformat/iv8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/iv8.c')
-rw-r--r--libavformat/iv8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/iv8.c b/libavformat/iv8.c
index 449a422347..e25f24eeb9 100644
--- a/libavformat/iv8.c
+++ b/libavformat/iv8.c
@@ -92,7 +92,6 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
ret = av_append_packet(s->pb, pkt, size);
if (ret < 0) {
av_log(s, AV_LOG_ERROR, "failed to grow packet\n");
- av_packet_unref(pkt);
return ret;
}
}