Revision 895a9be6 libavformat/mov.c

View differences:

libavformat/mov.c
939 939
                    PUT_UTF8(codec_name[i+1], tmp, st->codec->codec_name[pos++] = tmp;)
940 940
                }
941 941
                st->codec->codec_name[pos] = 0;
942
                /* codec_tag YV12 triggers an UV swap in rawdec.c */
943
                if (!memcmp(st->codec->codec_name, "Planar Y'CbCr 8-bit 4:2:0", 25))
944
                    st->codec->codec_tag=MKTAG('I', '4', '2', '0');
942 945
            }
943 946

  
944 947
            st->codec->bits_per_coded_sample = get_be16(pb); /* depth */

Also available in: Unified diff