error is -1

Originally committed as revision 12959 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2008-04-25 13:54:33 +00:00
parent cfb5a2abcb
commit 7e6273322c

View File

@ -451,7 +451,7 @@ static int mov_read_mdhd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
int lang;
if (version > 1)
return 1; /* unsupported */
return -1; /* unsupported */
get_be24(pb); /* flags */
if (version == 1) {