diff options
Diffstat (limited to 'libavformat/thp.c')
-rw-r--r-- | libavformat/thp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/thp.c b/libavformat/thp.c index ee5c78b6d3..332ed79128 100644 --- a/libavformat/thp.c +++ b/libavformat/thp.c @@ -181,7 +181,6 @@ static int thp_read_packet(AVFormatContext *s, if (ret < 0) return ret; if (ret != size) { - av_packet_unref(pkt); return AVERROR(EIO); } @@ -191,7 +190,6 @@ static int thp_read_packet(AVFormatContext *s, if (ret < 0) return ret; if (ret != thp->audiosize) { - av_packet_unref(pkt); return AVERROR(EIO); } |