1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
FFmpeg/tests/ref/lavf
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
..
aiff
al
apng
apng.png
asf
ast
au
avi
bmp
caf
dpx
dv
dv_ntsc
dv_pal
flm
flv
gbrap16be.fits
gbrap.fits
gbrp10le.dpx
gbrp12le.dpx
gbrp16be.fits
gbrp.fits
gif
gray16be.fits
gray16be.pam
gray16be.png
gray.fits
gray.pam
gray.xwd
gxf
gxf_ntsc
gxf_pal
ircam
ismv avformat/movenc: use more fall-back values for average bit rate fields 2020-09-22 18:25:44 +03:00
jpg
mka avformat/matroskaenc: Don't ignore tags of chapters written late 2020-05-19 03:34:44 +02:00
mkv avformat/matroskaenc: Don't ignore tags of chapters written late 2020-05-19 03:34:44 +02:00
mkv_attachment avformat/matroskaenc: Don't ignore tags of chapters written late 2020-05-19 03:34:44 +02:00
mmf
monob.pam
monow.xwd
mov avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mov_rtphint avformat/movenc: ensure we don't write the major brand as a compatible brand more than once 2019-12-21 11:57:28 -03:00
mp4 avformat/movenc: implement writing of the btrt box 2020-09-22 18:21:31 +03:00
mpg
mxf avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
mxf_d10 avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
mxf_dv25 avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
mxf_dvcpro50 avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
mxf_opatom avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
mxf_opatom_audio avformat/mxfenc: add Coding Equations and Color Primaries to local tags 2021-01-27 23:43:19 +01:00
nut
ogg
pam
pbmpipe
pcx
peak_only.wav
peak.wav
pgm
pgmpipe
png
ppm
ppmpipe
rgb4_byte.xwd
rgb8.xwd
rgb48be.pam
rgb48be.png
rgb48le_10.dpx
rgb48le.dpx
rgb555be.xwd
rgb565be.xwd
rgba64le.dpx
rgba.pam
rgba.xwd
rm ac3enc_fixed: convert to 32-bit sample format 2021-01-14 01:44:12 +01:00
rso
s16.voc
sgi
smjpeg
sox
sun
swf
tga
tiff
ts
tta
ul
voc
w64
wav
wtv
wv
xbm avcodec/xbmenc: Do not add last comma into output 2021-01-28 15:50:09 +01:00
xwd
y4m