From: Baptiste Coudurier Date: Mon, 30 Jul 2007 10:00:42 +0000 (+0000) Subject: treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect... X-Git-Tag: v0.5~8158 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bffcf2ebbf7c5a4a3580086d3e4f9020646f855d;p=coroid%2Flibav_saccubus.git treat NONE as U8 to fix qtNONE/000_0032.MOV, this should not any have side effect since if bps is 16 in stsd, codec will be changed to s16be, just yell if this breaks any sample Originally committed as revision 9832 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/isom.c b/libavformat/isom.c index 741c40a93..fd9c3569f 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -138,11 +138,11 @@ const AVCodecTag codec_movaudio_tags[] = { { CODEC_ID_PCM_S24BE, MKTAG('i', 'n', '2', '4') }, { CODEC_ID_PCM_S24LE, MKTAG('i', 'n', '2', '4') }, { CODEC_ID_PCM_S16BE, MKTAG('t', 'w', 'o', 's') }, /* 16 bits */ - { CODEC_ID_PCM_S16BE, MKTAG('N', 'O', 'N', 'E') }, /* uncompressed */ { CODEC_ID_PCM_S16LE, MKTAG('s', 'o', 'w', 't') }, /* */ { CODEC_ID_PCM_S16LE, MKTAG('l', 'p', 'c', 'm') }, { CODEC_ID_PCM_S8, MKTAG('s', 'o', 'w', 't') }, { CODEC_ID_PCM_U8, MKTAG('r', 'a', 'w', ' ') }, /* 8 bits unsigned */ + { CODEC_ID_PCM_U8, MKTAG('N', 'O', 'N', 'E') }, /* uncompressed */ { CODEC_ID_PCM_MULAW, MKTAG('u', 'l', 'a', 'w') }, /* */ { CODEC_ID_PCM_ALAW, MKTAG('a', 'l', 'a', 'w') }, /* */