diff options
Diffstat (limited to 'libavformat/gsmdec.c')
-rw-r--r-- | libavformat/gsmdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/gsmdec.c b/libavformat/gsmdec.c index 1044cde317..ec6b2e924f 100644 --- a/libavformat/gsmdec.c +++ b/libavformat/gsmdec.c @@ -62,7 +62,6 @@ static int gsm_read_packet(AVFormatContext *s, AVPacket *pkt) ret = av_get_packet(s->pb, pkt, size); if (ret < GSM_BLOCK_SIZE) { - av_packet_unref(pkt); return ret < 0 ? ret : AVERROR(EIO); } pkt->duration = 1; |