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

pull/6/head
Anton Khirnov 12 years ago
parent b146d74730
commit eeade678f0
  1. 2
      libavformat/avidec.c

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

Loading…
Cancel
Save