avidec: return 0, not packet size from read_packet().

This commit is contained in:
Anton Khirnov 2012-09-28 15:26:48 +02:00
parent b146d74730
commit eeade678f0
1 changed files with 1 additions and 1 deletions

View File

@ -1122,7 +1122,7 @@ resync:
ast->packet_size= 0;
}
return size;
return 0;
}
if ((err = avi_sync(s, 0)) < 0)