+
+ if (c->fcount) {
+ c->frames = av_malloc(c->fcount * sizeof(MPCFrame));
+ if (!c->frames) {
+ av_log(s, AV_LOG_ERROR, "Cannot allocate seektable\n");
+ return AVERROR(ENOMEM);
+ }
+ st->priv_data = c->frames;
+ } else {
+ av_log(s, AV_LOG_WARNING, "Container reports no frames\n");
+ }
+