diff options
Diffstat (limited to 'libavformat/g723_1.c')
-rw-r--r-- | libavformat/g723_1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/g723_1.c b/libavformat/g723_1.c index 27c8c3951b..3af4809347 100644 --- a/libavformat/g723_1.c +++ b/libavformat/g723_1.c @@ -69,7 +69,6 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt) ret = avio_read(s->pb, pkt->data + 1, size - 1); if (ret < size - 1) { - av_packet_unref(pkt); return ret < 0 ? ret : AVERROR_EOF; } |