diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index f17393bfa89df4a4deced9fc637d440ecfb1da5b..8f146e49fe27174d07d5bb72f3234a5ba3d111f6 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -817,7 +817,6 @@ retry: return psize; fail: av_free_packet(pkt); - av_free(pkt); return AVERROR(ENOMEM); }