simplify printing
Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -329,10 +329,8 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
|
|||||||
ctype = get_le32(pb);
|
ctype = get_le32(pb);
|
||||||
type = get_le32(pb); /* component subtype */
|
type = get_le32(pb); /* component subtype */
|
||||||
|
|
||||||
dprintf(c->fc, "ctype= %c%c%c%c (0x%08x)\n", *((char *)&ctype), ((char *)&ctype)[1],
|
dprintf(c->fc, "ctype= %.4s (0x%08x)\n", (char*)&ctype, ctype);
|
||||||
((char *)&ctype)[2], ((char *)&ctype)[3], (int) ctype);
|
dprintf(c->fc, "stype= %.4s\n", (char*)&type);
|
||||||
dprintf(c->fc, "stype= %c%c%c%c\n",
|
|
||||||
*((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]);
|
|
||||||
|
|
||||||
if (type == MKTAG('v','i','d','e'))
|
if (type == MKTAG('v','i','d','e'))
|
||||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||||
|
Reference in New Issue
Block a user