comparison mjpeg.c @ 527:d02d0e6db25c libavcodec

* clean compiler warning
author kabi
date Wed, 10 Jul 2002 14:34:06 +0000
parents b5b91e89b88c
children 4cee7ce37e10
comparison
equal deleted inserted replaced
526:cd170daf9e4c 527:d02d0e6db25c
370 /* comment */ 370 /* comment */
371 put_marker(p, COM); 371 put_marker(p, COM);
372 flush_put_bits(p); 372 flush_put_bits(p);
373 ptr = pbBufPtr(p); 373 ptr = pbBufPtr(p);
374 put_bits(p, 16, 0); /* patched later */ 374 put_bits(p, 16, 0); /* patched later */
375 #define VERSION "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR 375 #define MJPEG_VERSION "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
376 put_string(p, VERSION); 376 put_string(p, MJPEG_VERSION);
377 size = strlen(VERSION)+3; 377 size = strlen(MJPEG_VERSION)+3;
378 #undef VERSION 378 #undef MJPEG_VERSION
379 ptr[0] = size >> 8; 379 ptr[0] = size >> 8;
380 ptr[1] = size; 380 ptr[1] = size;
381 } 381 }
382 382
383 void mjpeg_picture_header(MpegEncContext *s) 383 void mjpeg_picture_header(MpegEncContext *s)