[FFmpeg-cvslog] lavf/mpjpegdec: Mark local variable static
Mark Thompson
git at videolan.org
Mon Jun 25 23:47:40 EEST 2018
ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Fri Jun 22 15:52:58 2018 +0100| [e7c0b44e747b4ccd5d682cd7e61d4bdd154434b1] | committer: Mark Thompson
lavf/mpjpegdec: Mark local variable static
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e7c0b44e747b4ccd5d682cd7e61d4bdd154434b1
---
libavformat/mpjpegdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index 83aa70d0c9..64d880a981 100644
--- a/libavformat/mpjpegdec.c
+++ b/libavformat/mpjpegdec.c
@@ -375,7 +375,7 @@ static int mpjpeg_read_packet(AVFormatContext *s, AVPacket *pkt)
#define OFFSET(x) offsetof(MPJPEGDemuxContext, x)
#define DEC AV_OPT_FLAG_DECODING_PARAM
-const AVOption mpjpeg_options[] = {
+static const AVOption mpjpeg_options[] = {
{ "strict_mime_boundary", "require MIME boundaries match", OFFSET(strict_mime_boundary), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, DEC },
{ NULL }
};
More information about the ffmpeg-cvslog
mailing list