# HG changeset patch # User michael # Date 1231008095 0 # Node ID 45506d633cdcd53a9f9d4f74097e83040333df8a # Parent b866cb2a5330e64426a8a562796d5a61a5e0089a Replace some fixed width variable from AVSubtitle* by normal int. diff -r b866cb2a5330 -r 45506d633cdc avcodec.h --- a/avcodec.h Sat Jan 03 18:26:07 2009 +0000 +++ b/avcodec.h Sat Jan 03 18:41:35 2009 +0000 @@ -2394,11 +2394,11 @@ }; typedef struct AVSubtitleRect { - uint16_t x; ///< top left corner of pict, undefined when pict is not set - uint16_t y; ///< top left corner of pict, undefined when pict is not set - uint16_t w; ///< width of pict, undefined when pict is not set - uint16_t h; ///< height of pict, undefined when pict is not set - uint16_t nb_colors; ///< number of colors in pict, undefined when pict is not set + int x; ///< top left corner of pict, undefined when pict is not set + int y; ///< top left corner of pict, undefined when pict is not set + int w; ///< width of pict, undefined when pict is not set + int h; ///< height of pict, undefined when pict is not set + int nb_colors; ///< number of colors in pict, undefined when pict is not set int linesize; uint32_t *rgba_palette; uint8_t *bitmap; @@ -2408,7 +2408,7 @@ uint16_t format; /* 0 = graphics */ uint32_t start_display_time; /* relative to packet pts, in ms */ uint32_t end_display_time; /* relative to packet pts, in ms */ - uint32_t num_rects; + unsigned num_rects; AVSubtitleRect **rects; } AVSubtitle;