~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavformat/riffdec.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
        }
118
118
        if (cbSize > 0) {
119
119
            av_free(codec->extradata);
120
 
            if (ff_alloc_extradata(codec, cbSize))
 
120
            if (ff_get_extradata(codec, pb, cbSize) < 0)
121
121
                return AVERROR(ENOMEM);
122
 
            avio_read(pb, codec->extradata, codec->extradata_size);
123
122
            size -= cbSize;
124
123
        }
125
124