comparison ptx.c @ 6071:20d8a8f0fd30 libavcodec

remove useless assignment
author ivo
date Wed, 26 Dec 2007 16:24:04 +0000
parents 4acd7b248bb8
children 4d43f2e3aaa5
comparison
equal deleted inserted replaced
6070:4acd7b248bb8 6071:20d8a8f0fd30
28 static int ptx_init(AVCodecContext *avctx) { 28 static int ptx_init(AVCodecContext *avctx) {
29 PTXContext *s = avctx->priv_data; 29 PTXContext *s = avctx->priv_data;
30 30
31 avcodec_get_frame_defaults(&s->picture); 31 avcodec_get_frame_defaults(&s->picture);
32 avctx->coded_frame= &s->picture; 32 avctx->coded_frame= &s->picture;
33 s->picture.data[0] = NULL;
34 33
35 return 0; 34 return 0;
36 } 35 }
37 36
38 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, 37 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,