diff avcodec.h @ 8516:315b302fcd1d libavcodec

Replace AVSubtitleRect.rgba_palette and bitmap by AVPicture.
author michael
date Sat, 03 Jan 2009 19:17:18 +0000
parents 45506d633cdc
children 7e6cf3ff61d3
line wrap: on
line diff
--- a/avcodec.h	Sat Jan 03 18:41:35 2009 +0000
+++ b/avcodec.h	Sat Jan 03 19:17:18 2009 +0000
@@ -2399,9 +2399,12 @@
     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 {