FFmpeg/tests
Jose Da Silva 41b8fd3a16 avcodec/xbmenc: Do not add last comma into output
There is a minor bug in xbm encode which adds a trailing comma at the end
of data. This isn't a big problem, but it would be nicer to be more
technically true to an array of data (by not including the last comma).

This bug fixes the output from something like this (having 4 values):
static unsigned char image_bits[] = { 0x00, 0x11, 0x22, }
to C code that looks like this instead (having 3 values):
static unsigned char image_bits[] = { 0x00, 0x11, 0x22 }
which is the intended results.
Subject: [PATCH 1/3] avcodec/xbmenc: Do not add last comma into output array

xbm outputs c arrays of data.
Including a comma at the end means there is another value to be added.
This bug fix changes something like this:
static unsigned char image_bits[] = { 0x00, 0x11, 0x22, }
to C code like this:
static unsigned char image_bits[] = { 0x00, 0x11, 0x22 }

Signed-off-by: Joe Da Silva <digital@joescat.com>
2021-01-28 15:50:09 +01:00
..
api api-seek-test: use non-obsolete decoding API 2021-01-01 14:33:08 +01:00
checkasm checkasm: add hevc_pel tests 2021-01-25 09:24:11 +01:00
dnn tests/dnn: enable unit test dense 2021-01-28 09:45:13 +08:00
fate tests/dnn: enable unit test dense 2021-01-28 09:45:13 +08:00
filtergraphs fate: add yuv420p10 and yuv422p10 tests for overlay filter 2020-06-19 07:14:46 +08:00
ref avcodec/xbmenc: Do not add last comma into output 2021-01-28 15:50:09 +01:00
.gitignore
audiogen.c tests/audiogen: raise channel count limit to 12 2018-07-30 10:46:10 +02:00
audiomatch.c tests/audiomatch: add free to make static analysis tools happy 2020-12-10 19:38:32 +08:00
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh tests/fate-run: Always overwrite output files for md5 tests 2020-09-27 09:51:31 +02:00
fate-valgrind.supp
fate.sh fate: Error out more gracefully on configure failure 2018-02-26 13:30:05 +01:00
Makefile fate: add tests for h264 and vp9 video enc parameters export 2020-05-25 11:59:45 +02:00
md5.sh
refcmp-metadata.awk fate: add tests for psnr and ssim filter 2017-09-27 15:58:49 +02:00
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c