Revision f009e36f libavformat/matroskadec.c

View differences:

libavformat/matroskadec.c
31 31
#include "avformat.h"
32 32
/* For codec_get_id(). */
33 33
#include "riff.h"
34
#include "isom.h"
34 35
#include "matroska.h"
35 36
#include "libavcodec/mpeg4audio.h"
36 37
#include "libavutil/intfloat_readwrite.h"
......
2550 2551

  
2551 2552
            }
2552 2553

  
2554
            if (!strcmp(track->codec_id, "V_QUICKTIME") &&
2555
                (track->codec_priv_size >= 86) &&
2556
                (track->codec_priv != NULL)) {
2557
                MatroskaVideoTrack *vtrack = (MatroskaVideoTrack *) track;
2558

  
2559
                vtrack->fourcc = AV_RL32(track->codec_priv);
2560
                codec_id = codec_get_id(codec_movvideo_tags, vtrack->fourcc);
2561
            }
2562

  
2553 2563
            else if (codec_id == CODEC_ID_AAC && !track->codec_priv_size) {
2554 2564
                MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *) track;
2555 2565
                int profile = matroska_aac_profile(track->codec_id);

Also available in: Unified diff