mirror of https://git.ffmpeg.org/ffmpeg.git
* clean compiler warning
Originally committed as revision 733 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
29482cb4ca
commit
f197d19a21
|
@ -372,10 +372,10 @@ static void jpeg_put_comments(MpegEncContext *s)
|
||||||
flush_put_bits(p);
|
flush_put_bits(p);
|
||||||
ptr = pbBufPtr(p);
|
ptr = pbBufPtr(p);
|
||||||
put_bits(p, 16, 0); /* patched later */
|
put_bits(p, 16, 0); /* patched later */
|
||||||
#define VERSION "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
|
#define MJPEG_VERSION "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
|
||||||
put_string(p, VERSION);
|
put_string(p, MJPEG_VERSION);
|
||||||
size = strlen(VERSION)+3;
|
size = strlen(MJPEG_VERSION)+3;
|
||||||
#undef VERSION
|
#undef MJPEG_VERSION
|
||||||
ptr[0] = size >> 8;
|
ptr[0] = size >> 8;
|
||||||
ptr[1] = size;
|
ptr[1] = size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue