]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_svq3.c
avcodec/flacenc: Remove always-true check
[ffmpeg] / libavformat / rtpdec_svq3.c
index 77164dd6f917efc71a76e81a7afda17e9f8f56ca..ffe21ac4c4a944cc859f12425a7a7e9495724e97 100644 (file)
@@ -58,10 +58,6 @@ static int svq3_parse_packet (AVFormatContext *s, PayloadContext *sv,
     len -= 2;
 
     if (config_packet) {
-
-        av_freep(&st->codecpar->extradata);
-        st->codecpar->extradata_size = 0;
-
         if (len < 2 || ff_alloc_extradata(st->codecpar, len + 8))
             return AVERROR_INVALIDDATA;