Revision cbb79c0e libavformat/avidec.c

View differences:

libavformat/avidec.c
412 412
                    get_le32(pb); /* ClrUsed */
413 413
                    get_le32(pb); /* ClrImportant */
414 414

  
415
                    if (tag1 == MKTAG('D', 'X', 'S', 'B')) {
416
                        st->codec->codec_type = CODEC_TYPE_SUBTITLE;
417
                        st->codec->codec_tag = tag1;
418
                        st->codec->codec_id = CODEC_ID_XSUB;
419
                        break;
420
                    }
421

  
415 422
                    if(size > 10*4 && size<(1<<30)){
416 423
                        st->codec->extradata_size= size - 10*4;
417 424
                        st->codec->extradata= av_malloc(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);

Also available in: Unified diff