Originally committed as revision 21769 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;
return AVERROR(EIO);
if (anm->page < 0)
- return 0;
+ return anm->page;
repeat:
p = &anm->pt[anm->page];