]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/g723_1.c
avformat/dashenc: Remove deprecated min_seg_duration option
[ffmpeg] / libavformat / g723_1.c
index 27c8c3951be00baa0ce1daa4dcab526bb4cf3f76..3af480934788401faf87208a3f3ab4e025119f15 100644 (file)
@@ -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;
     }