comparison mjpeg.c @ 2846:40765c51a7a9 libavcodec

Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
author michael
date Fri, 26 Aug 2005 19:05:44 +0000
parents 4db6127e20b8
children 5dfb90019814
comparison
equal deleted inserted replaced
2845:d9f4b93e81c5 2846:40765c51a7a9
2181 s->interlaced = 0; 2181 s->interlaced = 0;
2182 2182
2183 s->picture.reference = 0; 2183 s->picture.reference = 0;
2184 if (avctx->get_buffer(avctx, &s->picture) < 0) 2184 if (avctx->get_buffer(avctx, &s->picture) < 0)
2185 { 2185 {
2186 fprintf(stderr, "get_buffer() failed\n"); 2186 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
2187 return -1; 2187 return -1;
2188 } 2188 }
2189 2189
2190 s->picture.pict_type = I_TYPE; 2190 s->picture.pict_type = I_TYPE;
2191 s->picture.key_frame = 1; 2191 s->picture.key_frame = 1;