summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-01-03 19:17:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-01-03 19:17:18 +0000
commit25b4c651a3de58ea14c59131c650593736004686 (patch)
tree5cc7c45e50b84d7e8ff0826a9cd932562f07b664 /libavcodec/avcodec.h
parentebc466bb5fdbfef71700d5f56ffb3cb10e8a3868 (diff)
Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
Originally committed as revision 16416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index bda66bba91..04c17698dc 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2399,9 +2399,12 @@ typedef struct AVSubtitleRect {
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;
+
+ /**
+ * data+linesize for the bitmap of this subtitle.
+ * can be set for text/ass as well once they where rendered
+ */
+ AVPicture pict;
} AVSubtitleRect;
typedef struct AVSubtitle {