diff options
author | Anton Khirnov | 2012-09-28 15:26:48 +0200 |
---|---|---|
committer | Anton Khirnov | 2012-09-29 09:27:51 +0200 |
commit | eeade678f0a2bac127aeed2fb68d8717a6463420 (patch) | |
tree | 625b764f29dc1f6bae30fb3a5e14e28eb93438f5 /libavformat | |
parent | b146d74730ab9ec5abede9066f770ad851e45fbc (diff) |
avidec: return 0, not packet size from read_packet().
Diffstat (limited to 'libavformat')
-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) |