ffmpeg/libavcodec/libfluoride-sbcdec.c:35: warning: "SBC_WBS_SAMPLES_PER_FRAME" redefined
35 | #define SBC_WBS_SAMPLES_PER_FRAME (SBC_MAX_BANDS * SBC_MAX_BLOCKS)
In file included from ffmpeg/libavcodec/libfluoride-sbcdec.c:32:
/home/cuiziwei/ssd/trunk/apps/external/libfluoride-sbc/libfluoride-sbc/decoder/include/oi_codec_sbc.h:68: note: this is the location of the previous definition
68 | #define SBC_WBS_SAMPLES_PER_FRAME 128
Signed-off-by: zengshuang <zengshuang@xiaomi.com>
ffmpeg/libavcodec/ac3dec.c: In function 'decode_audio_block':
ffmpeg/libavcodec/ac3dec.c:1205:34: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
1205 | bit_alloc_stages[ch] = 3;
| ~~~~~~~~~~~~~~~~~~~~~^~~
ffmpeg/libavcodec/ac3dec.c:1105:13: note: at offset 7 into destination object 'bit_alloc_stages' of size 7
1105 | uint8_t bit_alloc_stages[AC3_MAX_CHANNELS] = { 0 };
| ^~~~~~~~~~~~~~~~
At top level:
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
CC: libuv/src/unix/sysinfo-memory.c ffmpeg/libavcodec/pcm.c:366:12: warning: 'pcm_decode_frame' defined but not used [-Wunused-function]
366 | static int pcm_decode_frame(AVCodecContext *avctx, AVFrame *frame,
| ^~~~~~~~~~~~~~~~
ffmpeg/libavcodec/pcm.c:102:12: warning: 'pcm_encode_frame' defined but not used [-Wunused-function]
102 | static int pcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
| ^~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
CC: ffmpeg/libavfilter/f_encoder.c ffmpeg/libavfilter/f_decoder.c:268:12: warning: 'decoder_process_command' defined but not used [-Wunused-function]
268 | static int decoder_process_command(AVFilterContext *ctx,
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
When using Iphone to play music, the nframe exceeds the value of SBC_MAX_FRAME. The SBC_MAX_FRAME is useless,
because the nframe is limited by 0xf.
Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
ffmpeg/libavcodec/adpcmenc.c:603:20: warning: variable 'samples' set but not used [-Wunused-but-set-variable]
603 | const int16_t *samples;
| ^~~~~~~
ffmpeg/libavcodec/adpcmenc.c:602:9: warning: variable 'st' set but not used [-Wunused-but-set-variable]
602 | int st, pkt_size, ret;
Signed-off-by: renjianguang <renjianguang@xiaomi.com>
When converting V4L2Buffer to AVFrame, it is calculated based on the
format information of multi-planar, which can cause issues if the
decoder only supports single-planar.
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
When the encoder output streamoff, the status of output->streamon will
be modified back to streamon again.
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
ffmpeg/libavcodec/h264_loopfilter.c: In function ‘ff_h264_filter_mb’:
ffmpeg/libavcodec/h264_loopfilter.c:805:21: warning: ‘filter_mb_mbaff_edgecv’ reading 14 bytes from a region of size 8 [-Wstringop-overread]
805 | filter_mb_mbaff_edgecv(h, img_cb + 8*uvlinesize, uvlinesize, bS+4, 1, bqp[1], a, b, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffmpeg/libavcodec/h264_loopfilter.c:805:21: note: referencing argument 4 of type ‘const int16_t[7]’ {aka ‘const short int[7]’}
ffmpeg/libavcodec/h264_loopfilter.c:167:30: note: in a call to function ‘filter_mb_mbaff_edgecv’
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
ffmpeg/libavcodec/ac3dec.c:855:37: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
855 | s->channel_uses_spx[ch] = get_bits1(bc);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from ffmpeg/libavcodec/ac3dec_float.c:34:
ffmpeg/libavcodec/ac3dec.h: In function 'decode_audio_block':
ffmpeg/libavcodec/ac3dec.h:144:13: note: at offset 7 into destination object 'channel_uses_spx' of size 7
144 | uint8_t channel_uses_spx[AC3_MAX_CHANNELS]; ///< channel uses spectral extension (chinspx)
| ^~~~~~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
IN: libs/libc/libc.a -> staging/libc.a install -m 0644 libs/libc/libc.a staging/libc.a
CC: ffmpeg/libavcodec/neon/mpegvideo.c ffmpeg/libavcodec/hevcdec.c: In function 'pred_weight_table':
ffmpeg/libavcodec/hevcdec.c:185:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
185 | chroma_weight_l0_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ffmpeg/libavcodec/hevcdec.c:156:13: note: at offset 16 into destination object 'chroma_weight_l0_flag' of size 16
156 | uint8_t chroma_weight_l0_flag[16];
| ^~~~~~~~~~~~~~~~~~~~~
ffmpeg/libavcodec/hevcdec.c:229:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
229 | chroma_weight_l1_flag[i] = get_bits1(gb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ffmpeg/libavcodec/hevcdec.c:158:13: note: at offset 16 into destination object 'chroma_weight_l1_flag' of size 16
158 | uint8_t chroma_weight_l1_flag[16];
| ^~~~~~~~~~~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option '-Wno-implicit-int-float-conversion' may have been intended to silence earlier diagnostics
ffmpeg/libavformat/asfcrypt.c: In function 'multiswap_enc':
ffmpeg/libavformat/asfcrypt.c:119:11: warning: 'multiswap_step' reading 48 bytes from a region of size 24 [-Wstringop-overread]
119 | tmp = multiswap_step(keys + 6, b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ffmpeg/libavformat/asfcrypt.c:119:11: note: referencing argument 1 of type 'const uint32_t[12]' {aka 'const long unsigned int[12]'}
ffmpeg/libavformat/asfcrypt.c:76:17: note: in a call to function 'multiswap_step'
76 | static uint32_t multiswap_step(const uint32_t keys[12], uint32_t v)
| ^~~~~~~~~~~~~~
ffmpeg/libavformat/asfcrypt.c: In function 'multiswap_dec':
ffmpeg/libavformat/asfcrypt.c:140:11: warning: 'multiswap_inv_step' reading 48 bytes from a region of size 24 [-Wstringop-overread]
140 | b = multiswap_inv_step(keys + 6, tmp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ffmpeg/libavformat/asfcrypt.c:140:11: note: referencing argument 1 of type 'const uint32_t[12]' {aka 'const long unsigned int[12]'}
ffmpeg/libavformat/asfcrypt.c:88:17: note: in a call to function 'multiswap_inv_step'
88 | static uint32_t multiswap_inv_step(const uint32_t keys[12], uint32_t v)
| ^~~~~~~~~~~~~~~~~~
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
CXX: libopencore-amr/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/overflow_tbl.cpp ffmpeg/libavcodec/exif.c: In function 'exif_decode_tag':
ffmpeg/libavcodec/exif.c:212:35: warning: passing argument 4 of 'ff_tread_tag' from incompatible pointer type [-Wincompatible-pointer-types]
212 | ff_tread_tag(gbytes, le, &id, &type, &count, &cur_pos);
| ^~~~~
| |
| enum TiffTypes *
In file included from ffmpeg/libavcodec/exif.c:29:
ffmpeg/libavcodec/tiff_common.h:128:71: note: expected 'unsigned int *' but argument is of type 'enum TiffTypes *'
128 | int ff_tread_tag(GetByteContext *gb, int le, unsigned *tag, unsigned *type,
| ~~~~~~~~~~^~~~
ffmpeg/libavcodec/exif.c:212:5: warning: converting a packed 'enum TiffTypes' pointer (alignment 1) to a 'unsigned int' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
212 | ff_tread_tag(gbytes, le, &id, &type, &count, &cur_pos);
| ^~~~~~~~~~~~
In file included from ffmpeg/libavcodec/exif.c:29:
ffmpeg/libavcodec/tiff_common.h:36:6: note: defined here
36 | enum TiffTypes {
| ^~~~~~~~~
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
CXX: src/framework/cdp/cdpNetwork.cpp ffmpeg/libavcodec/mjpegdec.c: In function 'mjpeg_decode_app':
ffmpeg/libavcodec/mjpegdec.c:1839:46: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Wformat=]
1839 | av_log(s->avctx, AV_LOG_WARNING, "skipping APPx (len=%"PRId32") for bayer-encoded image\n", len);
| ^~~~~~~~~~~~~~~~~~~~~~ ~~~
| |
| int
In file included from /home/yangsen/work/openSource/vela-nuttx/qemu/1220/nuttx/include/stdint.h:35,
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
ffmpeg/libavcodec/startcode.c:47:17: runtime error: load of misaligned address 0xedd14105 for type 'const uint32_t', which requires 4 byte alignment
0xedd14105: note: pointer points here
Signed-off-by: zhushiqshi <zhushiqshi@xiaomi.com>
ffmpeg/libavcodec/hevcdsp_template.c: In function 'hevc_h_loop_filter_chroma_8':
ffmpeg/libavcodec/hevcdsp_template.c:1650:63: warning: passing argument 4 of 'hevc_loop_filter_chroma_8' from incompatible pointer type [-Wincompatible-pointer-types]
1650 | FUNC(hevc_loop_filter_chroma)(pix, stride, sizeof(pixel), tc, no_p, no_q);
| ^~
| |
| int32_t * {aka long int *}
ffmpeg/libavcodec/hevcdsp_template.c:1613:68: note: expected 'int *' but argument is of type 'int32_t *' {aka 'long int *'}
1613 | ptrdiff_t _ystride, int *_tc,
| ~~~~~^~~
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>