[FFmpeg-cvslog] r11328 - in trunk/libavcodec: pcx.c ptx.c
ivo
subversion
Thu Dec 27 12:49:28 CET 2007
Author: ivo
Date: Thu Dec 27 12:49:28 2007
New Revision: 11328
Log:
remove useless cast
Modified:
trunk/libavcodec/pcx.c
trunk/libavcodec/ptx.c
Modified: trunk/libavcodec/pcx.c
==============================================================================
--- trunk/libavcodec/pcx.c (original)
+++ trunk/libavcodec/pcx.c Thu Dec 27 12:49:28 2007
@@ -73,7 +73,7 @@ static int pcx_decode_frame(AVCodecConte
uint8_t *buf, int buf_size) {
PCXContext * const s = avctx->priv_data;
AVFrame *picture = data;
- AVFrame * const p = (AVFrame *)&s->picture;
+ AVFrame * const p = &s->picture;
int xmin, ymin, xmax, ymax;
unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x,
bytes_per_scanline;
Modified: trunk/libavcodec/ptx.c
==============================================================================
--- trunk/libavcodec/ptx.c (original)
+++ trunk/libavcodec/ptx.c Thu Dec 27 12:49:28 2007
@@ -38,7 +38,7 @@ static int ptx_decode_frame(AVCodecConte
uint8_t *buf, int buf_size) {
PTXContext * const s = avctx->priv_data;
AVFrame *picture = data;
- AVFrame * const p = (AVFrame *)&s->picture;
+ AVFrame * const p = &s->picture;
unsigned int offset, w, h, y, stride, bytes_per_pixel;
uint8_t *ptr;
More information about the ffmpeg-cvslog
mailing list