Revision b6f508bb libavformat/4xm.c

View differences:

libavformat/4xm.c
149 149

  
150 150
            st->codec->codec_type = CODEC_TYPE_VIDEO;
151 151
            st->codec->codec_id = CODEC_ID_4XM;
152
            st->codec->codec_tag = AV_RL32(&header[i + 16]);
152
            st->codec->extradata_size = 4;
153
            st->codec->extradata = av_malloc(4);
154
            AV_WL32(st->codec->extradata, AV_RL32(&header[i + 16]));
153 155
            st->codec->width = fourxm->width;
154 156
            st->codec->height = fourxm->height;
155 157

  

Also available in: Unified diff