diff mbox

[FFmpeg-devel,4/5] lavf/mpjpegdec: Mark local variable static

Message ID 20180624182539.32194-4-sw@jkqxz.net
State Accepted
Commit e7c0b44e747b4ccd5d682cd7e61d4bdd154434b1
Headers show

Commit Message

Mark Thompson June 24, 2018, 6:25 p.m. UTC
---
 libavformat/mpjpegdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer June 25, 2018, 5:57 p.m. UTC | #1
On Sun, Jun 24, 2018 at 07:25:38PM +0100, Mark Thompson wrote:
> ---
>  libavformat/mpjpegdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM

thx

[...]
Mark Thompson June 25, 2018, 8:48 p.m. UTC | #2
On 25/06/18 18:57, Michael Niedermayer wrote:
> On Sun, Jun 24, 2018 at 07:25:38PM +0100, Mark Thompson wrote:
>> ---
>>  libavformat/mpjpegdec.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> LGTM

Applied.

Thanks,

- Mark
diff mbox

Patch

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 }
 };