~siretart/xine-lib/ubuntu

« back to all changes in this revision

Viewing changes to src/xine-engine/video_out.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-15 13:13:45 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051215131345-8n4osv1j7fy9c1s1
* SECURITY UPDATE: Fix arbitrary code execution with crafted PNG images in
  embedded ffmpeg copy.
* src/libffmpeg/libavcodec/utils.c, avcodec_default_get_buffer(): Apply
  upstream patch to fix buffer overflow on decoding of small PIX_FMT_PAL8
  PNG files.
* References:
  CVE-2005-4048
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2005-November/005333.html
  http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/
  utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * along with this program; if not, write to the Free Software
18
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
19
19
 *
20
 
 * $Id: video_out.h,v 1.112 2004/10/08 21:08:26 mroi Exp $
 
20
 * $Id: video_out.h,v 1.113 2005/09/24 19:08:26 miguelfreitas Exp $
21
21
 *
22
22
 *
23
23
 * xine version of video_out.h 
150
150
  vo_driver_t               *driver;
151
151
  xine_stream_t             *stream;
152
152
  
 
153
  /* displacement for overlays */
 
154
  int                       overlay_offset_x, overlay_offset_y;
 
155
  
153
156
  /* 
154
157
   * that part is used only by video_out.c for frame management
155
158
   * obs: changing anything here will require recompiling vo drivers
285
288
 * from generic vo functions.
286
289
 */
287
290
 
288
 
#define VIDEO_OUT_DRIVER_IFACE_VERSION  20
 
291
#define VIDEO_OUT_DRIVER_IFACE_VERSION  21
289
292
 
290
293
struct vo_driver_s {
291
294
 
400
403
  uint8_t           trans[OVL_PALETTE_SIZE];  /* mixer key table        */
401
404
  int               rgb_clut;      /* true if clut was converted to rgb */
402
405
 
403
 
  int               clip_top;
404
 
  int               clip_bottom;
405
 
  int               clip_left;
406
 
  int               clip_right;
407
 
  uint32_t          clip_color[OVL_PALETTE_SIZE];
408
 
  uint8_t           clip_trans[OVL_PALETTE_SIZE];
409
 
  int               clip_rgb_clut; /* true if clut was converted to rgb */
 
406
  /* define a highlight area with different colors */
 
407
  int               hili_top;
 
408
  int               hili_bottom;
 
409
  int               hili_left;
 
410
  int               hili_right;
 
411
  uint32_t          hili_color[OVL_PALETTE_SIZE];
 
412
  uint8_t           hili_trans[OVL_PALETTE_SIZE];
 
413
  int               hili_rgb_clut; /* true if clut was converted to rgb */
 
414
  
410
415
  int               unscaled;      /* true if it should be blended unscaled */
411
416
};
412
417