diff options
Diffstat (limited to 'libavformat/nuv.c')
-rw-r--r-- | libavformat/nuv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/nuv.c b/libavformat/nuv.c index bef0ae4860..d99770d41d 100644 --- a/libavformat/nuv.c +++ b/libavformat/nuv.c @@ -284,7 +284,6 @@ static int nuv_packet(AVFormatContext *s, AVPacket *pkt) memcpy(pkt->data, hdr, copyhdrsize); ret = avio_read(pb, pkt->data + copyhdrsize, size); if (ret < 0) { - av_packet_unref(pkt); return ret; } if (ret < size) |