Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1422)

Unified Diff: patched-ffmpeg-mt/libavformat/anm.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patched-ffmpeg-mt/libavformat/anm.c
===================================================================
--- patched-ffmpeg-mt/libavformat/anm.c (revision 41250)
+++ patched-ffmpeg-mt/libavformat/anm.c (working copy)
@@ -39,7 +39,7 @@
int page_table_offset;
#define MAX_PAGES 256 /** Deluxe Paint hardcoded value */
Page pt[MAX_PAGES]; /** page table */
- int page; /** current page */
+ int page; /** current page (or AVERROR_xxx code) */
int record; /** current record (with in page) */
} AnmDemuxContext;
@@ -185,7 +185,7 @@
return AVERROR(EIO);
if (anm->page < 0)
- return 0;
+ return anm->page;
repeat:
p = &anm->pt[anm->page];

Powered by Google App Engine
This is Rietveld 408576698