diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-09-28 17:26:48 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-09-29 11:27:51 +0400 |
commit | eeade678f0a2bac127aeed2fb68d8717a6463420 (patch) | |
tree | 625b764f29dc1f6bae30fb3a5e14e28eb93438f5 /libavformat/avidec.c | |
parent | b146d74730ab9ec5abede9066f770ad851e45fbc (diff) |
avidec: return 0, not packet size from read_packet().
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 9360e8ea22..b70367fb30 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1122,7 +1122,7 @@ resync: ast->packet_size= 0; } - return size; + return 0; } if ((err = avi_sync(s, 0)) < 0) |