Revision e11afd71 libavformat/mov.c

View differences:

libavformat/mov.c
769 769
    if((uint64_t)atom.size > (1<<30))
770 770
        return -1;
771 771

  
772
    if (st->codec->codec_id == CODEC_ID_QDM2) {
773
        // pass all frma atom to codec, needed at least for QDM2
772
    if (st->codec->codec_id == CODEC_ID_QDM2 || st->codec->codec_id == CODEC_ID_QDMC) {
773
        // pass all frma atom to codec, needed at least for QDMC and QDM2
774 774
        av_free(st->codec->extradata);
775 775
        st->codec->extradata = av_mallocz(atom.size + FF_INPUT_BUFFER_PADDING_SIZE);
776 776
        if (!st->codec->extradata)

Also available in: Unified diff