ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Thu Feb 9 22:56:19 2017 +0100| [d23af72a0cb86298ff740e07b2b293a07c62ed44] | committer: Michael Niedermayer
avcodec/tests/mjpegenc_huffman: Remove static in main() table Avoids false positives when greping for non constant statics Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d23af72a0cb86298ff740e07b2b293a07c62ed44 --- libavcodec/tests/mjpegenc_huffman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tests/mjpegenc_huffman.c b/libavcodec/tests/mjpegenc_huffman.c index 33e1f5f..2ed92d0 100644 --- a/libavcodec/tests/mjpegenc_huffman.c +++ b/libavcodec/tests/mjpegenc_huffman.c @@ -117,7 +117,7 @@ int main(int argc, char **argv) { int i, ret = 0; // Probabilities of symbols 0..4 - static PTable val_counts[] = { + PTable val_counts[] = { {.value = 0, .prob = 1}, {.value = 1, .prob = 2}, {.value = 2, .prob = 5}, _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog