diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-01-03 18:41:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-01-03 18:41:35 +0000 |
commit | ebc466bb5fdbfef71700d5f56ffb3cb10e8a3868 (patch) | |
tree | 1acc007317924251714664abc301468d7efd7c99 /libavcodec/avcodec.h | |
parent | 052571e75aceb816d366a22d9c50bf9bade54ae3 (diff) | |
download | ffmpeg-ebc466bb5fdbfef71700d5f56ffb3cb10e8a3868.tar.gz |
Replace some fixed width variable from AVSubtitle* by normal int.
Originally committed as revision 16415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3269561365..bda66bba91 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2394,11 +2394,11 @@ enum AVSubtitleType { }; 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 @@ typedef struct AVSubtitle { 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; |