]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/apetag.c
Merge commit '3b08d9d932eef09403074d5af31e10d8011e840b'
[ffmpeg] / libavformat / apetag.c
index 53e076fb8bcf727d119e3412074df3ebc5937612..08e80f4aa38a15903e31f11cba3b3356931c1dd4 100644 (file)
@@ -96,7 +96,7 @@ static int ape_tag_read_field(AVFormatContext *s)
             st->attached_pic.stream_index = st->index;
             st->attached_pic.flags       |= AV_PKT_FLAG_KEY;
         } else {
-            if (ff_get_extradata(st->codecpar, s->pb, size) < 0)
+            if (ff_get_extradata(s, st->codecpar, s->pb, size) < 0)
                 return AVERROR(ENOMEM);
             st->codecpar->codec_type = AVMEDIA_TYPE_ATTACHMENT;
         }