diff --git a/libavformat/mov.c b/libavformat/mov.c index aa4f02ec7f..39622bff39 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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) {