diff options
Diffstat (limited to 'libavformat/adp.c')
-rw-r--r-- | libavformat/adp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/adp.c b/libavformat/adp.c index 56f302acfd..8668c78fe4 100644 --- a/libavformat/adp.c +++ b/libavformat/adp.c @@ -78,7 +78,6 @@ static int adp_read_packet(AVFormatContext *s, AVPacket *pkt) if (ret != size) { if (ret < 0) { - av_packet_unref(pkt); return ret; } av_shrink_packet(pkt, ret); |