ffmpeg/tests/ref
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
..
acodec avcodec/adpcm_ima_swf: fix frame size to 4096 2020-11-07 23:43:26 +10:00
fate avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
lavf avcodec/xbmenc: Do not add last comma into output 2021-01-28 15:50:09 +01:00
lavf-fate lavf/mux: rewrite guessing the packet duration 2020-12-10 09:50:18 +01:00
pixfmt
seek avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames 2020-12-06 18:09:24 +01:00
vsynth
vsynth1
vsynth_lena