Revision f2ad9070

View differences:

libavformat/mov.c
913 913
                int pos = 0;
914 914
                for (i = 0; i < codec_name[0] && pos < sizeof(st->codec->codec_name) - 3; i++) {
915 915
                    uint8_t tmp;
916
                    PUT_UTF8(codec_name[i], tmp, st->codec->codec_name[pos++] = tmp;)
916
                    PUT_UTF8(codec_name[i+1], tmp, st->codec->codec_name[pos++] = tmp;)
917 917
                }
918 918
                st->codec->codec_name[pos] = 0;
919 919
            }

Also available in: Unified diff