[FFmpeg-cvslog] avidec: return 0, not packet size from read_packet().

Anton Khirnov git at videolan.org
Mon Feb 18 01:09:46 CET 2013


ffmpeg | branch: release/0.7 | Anton Khirnov <anton at khirnov.net> | Fri Sep 28 15:26:48 2012 +0200| [562d6fd5b577aeab7218ce5d1cb8547aa1f4b66c] | committer: Reinhard Tartler

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

(cherry picked from commit eeade678f0a2bac127aeed2fb68d8717a6463420)

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=562d6fd5b577aeab7218ce5d1cb8547aa1f4b66c
---

 libavformat/avidec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index a35290b1..2083f28 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -990,7 +990,7 @@ resync:
             ast->packet_size= 0;
         }
 
-        return size;
+        return 0;
     }
 
     memset(d, -1, sizeof(int)*8);



More information about the ffmpeg-cvslog mailing list