[Ffmpeg-devel] fix some warnings
Luca Abeni
lucabe72
Wed Jan 25 12:09:24 CET 2006
Hi all,
when compiling the current CVS version on debian unstable (gcc version
4.0.3 20060115 (prerelease) (Debian 4.0.2-7)), I get a lot of warings
about pointers signedness. I attach the list of all the errors.
The attached patch (warn_fixes.diff) fixes the most obvious warnings (I
am not sure about how to fix the other ones).
After applying the patch, "make codectest" and "make libavtest" show no
regressions.
Luca
--
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
N O W A R ! ! !
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Suoneria gratuita su www.jamba.it
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4610&d=25-1
-------------- next part --------------
mpegvideo.c: In function 'estimate_best_b_count':
mpegvideo.c:2188: warning: passing argument 2 of 'img_resample' from incompatible pointer type
mpegvideo.c:2188: warning: passing argument 3 of 'img_resample' from incompatible pointer type
mpegvideo.c: In function 'encode_mb':
mpegvideo.c:5938: warning: 'q' may be used uninitialized in this function
mjpeg.c: In function 'mjpeg_decode_com':
mjpeg.c:1780: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mjpeg.c:1780: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1780: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mjpeg.c:1780: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1780: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1780: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mjpeg.c:1786: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
dsputil.c:2473: warning: 'avg_h264_qpel2_h_lowpass' defined but not used
dsputil.c:2473: warning: 'avg_h264_qpel2_v_lowpass' defined but not used
dsputil.c:2473: warning: 'avg_h264_qpel2_hv_lowpass' defined but not used
motion_est_template.c: In function 'ff_get_mb_score':
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est_template.c: In function 'hpel_motion_search':
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est_template.c: In function 'qpel_motion_search':
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c: In function 'check_input_motion':
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
motion_est.c:178: warning: 'uvdxy' may be used uninitialized in this function
mpeg12.c: In function 'mpeg1_encode_sequence_header':
mpeg12.c:317: warning: pointer targets in passing argument 2 of 'ff_write_quant_matrix' differ in signedness
mpeg12.c:318: warning: pointer targets in passing argument 2 of 'ff_write_quant_matrix' differ in signedness
In file included from mpeg12.c:3316:
mdec.c: In function 'mdec_decode_block_intra':
mdec.c:63: warning: pointer targets in initialization differ in signedness
mdec.c: In function 'decode_frame':
mdec.c:180: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
mpegaudiodec.c: In function 'mp_decode_frame':
mpegaudiodec.c:2445: warning: pointer targets in passing argument 4 of 'ff_mpa_synth_filter' differ in signedness
mpegaudiodec.c: In function 'mp_decode_layer3':
mpegaudiodec.c:1631: warning: 'last_gb.size_in_bits' may be used uninitialized in this function
mpegaudiodec.c:1631: warning: 'last_gb.index' may be used uninitialized in this function
mpegaudiodec.c:1631: warning: 'last_gb.buffer_end' may be used uninitialized in this function
parser.c: In function 'ff_combine_frame':
parser.c:240: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
parser.c:252: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
pnm.c: In function 'pnm_encode_frame':
pnm.c:307: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:308: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:311: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:312: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c: In function 'pam_encode_frame':
pnm.c:393: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:394: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
In file included from h263.c:40:
mpeg4data.h:226: warning: pointer targets in initialization differ in signedness
mpeg4data.h:227: warning: pointer targets in initialization differ in signedness
mpeg4data.h:330: warning: pointer targets in initialization differ in signedness
mpeg4data.h:331: warning: pointer targets in initialization differ in signedness
h263.c: In function 'h263_pred_dc':
h263.c:1521: warning: pointer targets in assignment differ in signedness
h263.c: In function 'mpeg4_encode_vol_header':
h263.c:2373: warning: pointer targets in passing argument 2 of 'ff_write_quant_matrix' differ in signedness
h263.c:2374: warning: pointer targets in passing argument 2 of 'ff_write_quant_matrix' differ in signedness
h263.c: In function 'ff_mpeg4_pred_dc':
h263.c:2503: warning: pointer targets in assignment differ in signedness
msmpeg4.c: In function 'msmpeg4_pred_dc':
msmpeg4.c:840: warning: pointer targets in assignment differ in signedness
msmpeg4.c: In function 'msmpeg4_decode_block':
msmpeg4.c:1666: warning: 'dc_pred_dir' may be used uninitialized in this function
h263dec.c: In function 'ff_h263_decode_frame':
h263dec.c:756: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
asv1.c: In function 'decode_frame':
asv1.c:404: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
cyuv.c: In function 'cyuv_decode_frame':
cyuv.c:78: warning: pointer targets in initialization differ in signedness
cyuv.c:79: warning: pointer targets in initialization differ in signedness
cyuv.c:80: warning: pointer targets in initialization differ in signedness
flac.c: In function 'allocate_buffers':
flac.c:221: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
flac.c: In function 'flac_decode_frame':
flac.c:597: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
4xm.c: In function 'decode_p_frame':
4xm.c:340: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
4xm.c: In function 'decode_i_frame':
4xm.c:577: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
4xm.c: In function 'decode_frame':
4xm.c:636: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
h264.c: In function 'decode_nal':
h264.c:1507: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
h264.c: In function 'decode_unregistered_user_data':
h264.c:6985: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
huffyuv.c: In function 'decode_frame':
huffyuv.c:792: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
huffyuv.c:822: warning: 'lefttopv' may be used uninitialized in this function
huffyuv.c:822: warning: 'lefttopu' may be used uninitialized in this function
indeo3.c: In function 'iv_Decode_Chunk':
indeo3.c:384: warning: pointer targets in assignment differ in signedness
ra144.c: In function 'do_output_subblock':
ra144.c:144: warning: pointer targets in passing argument 1 of 'rotate_block' differ in signedness
ra144.c:144: warning: pointer targets in passing argument 2 of 'rotate_block' differ in signedness
ra144.c:149: warning: pointer targets in passing argument 1 of 'irms' differ in signedness
ra144.c:151: warning: pointer targets in passing argument 7 of 'add_wav' differ in signedness
ra144.c:151: warning: pointer targets in passing argument 8 of 'add_wav' differ in signedness
ra144.c:151: warning: pointer targets in passing argument 9 of 'add_wav' differ in signedness
ra144.c:151: warning: pointer targets in passing argument 10 of 'add_wav' differ in signedness
ra144.c:154: warning: pointer targets in passing argument 2 of 'final' differ in signedness
ra144.c:154: warning: pointer targets in passing argument 3 of 'final' differ in signedness
ra144.c:154: warning: pointer targets in passing argument 5 of 'final' differ in signedness
ra144.c: In function 'add_wav':
ra144.c:191: warning: pointer targets in assignment differ in signedness
ra144.c: In function 'final':
ra144.c:232: warning: pointer targets in assignment differ in signedness
ra144.c: In function 'dec2':
ra144.c:407: warning: pointer targets in assignment differ in signedness
ra144.c:410: warning: pointer targets in assignment differ in signedness
ra144.c:411: warning: pointer targets in assignment differ in signedness
ra144.c: In function 'ra144_decode_frame':
ra144.c:453: warning: pointer targets in passing argument 1 of 'do_voice' differ in signedness
ra144.c:453: warning: pointer targets in passing argument 2 of 'do_voice' differ in signedness
ra144.c:459: warning: pointer targets in passing argument 2 of 'dec1' differ in signedness
ra144.c:459: warning: pointer targets in passing argument 3 of 'dec1' differ in signedness
ra144.c:463: warning: pointer targets in passing argument 2 of 'dec2' differ in signedness
ra144.c:463: warning: pointer targets in passing argument 3 of 'dec2' differ in signedness
ra144.c:463: warning: pointer targets in passing argument 6 of 'dec2' differ in signedness
ra144.c:465: warning: pointer targets in passing argument 2 of 'dec2' differ in signedness
ra144.c:465: warning: pointer targets in passing argument 3 of 'dec2' differ in signedness
ra144.c:465: warning: pointer targets in passing argument 6 of 'dec2' differ in signedness
ra144.c:469: warning: pointer targets in passing argument 2 of 'dec2' differ in signedness
ra144.c:469: warning: pointer targets in passing argument 3 of 'dec2' differ in signedness
ra144.c:469: warning: pointer targets in passing argument 6 of 'dec2' differ in signedness
ra144.c:471: warning: pointer targets in passing argument 2 of 'dec2' differ in signedness
ra144.c:471: warning: pointer targets in passing argument 3 of 'dec2' differ in signedness
ra144.c:471: warning: pointer targets in passing argument 6 of 'dec2' differ in signedness
shorten.c: In function 'shorten_decode_frame':
shorten.c:267: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
snow.c: In function 'encode_q_branch':
snow.c:2055: warning: initialization discards qualifiers from pointer target type
snow.c:2056: warning: initialization discards qualifiers from pointer target type
snow.c:2057: warning: initialization discards qualifiers from pointer target type
snow.c:2058: warning: initialization discards qualifiers from pointer target type
snow.c: In function 'encode_q_branch2':
snow.c:2261: warning: initialization discards qualifiers from pointer target type
snow.c:2262: warning: initialization discards qualifiers from pointer target type
snow.c: In function 'decode_q_branch':
snow.c:2310: warning: initialization discards qualifiers from pointer target type
snow.c:2311: warning: initialization discards qualifiers from pointer target type
snow.c: In function 'pred_block':
snow.c:2526: warning: suggest parentheses around && within ||
snow.c: In function 'add_yblock_buffered':
snow.c:2687: warning: left shift count is negative
snow.c: In function 'add_yblock':
snow.c:2845: warning: left shift count is negative
snow.c: In function 'predict_slice_buffered':
snow.c:2921: warning: passing argument 6 of 'add_yblock_buffered' discards qualifiers from pointer target type
snow.c: In function 'predict_slice':
snow.c:2979: warning: passing argument 5 of 'add_yblock' discards qualifiers from pointer target type
snow.c: In function 'get_dc':
snow.c:3025: warning: passing argument 5 of 'add_yblock' discards qualifiers from pointer target type
snow.c: In function 'get_block_bits':
snow.c:3055: warning: initialization discards qualifiers from pointer target type
snow.c:3056: warning: initialization discards qualifiers from pointer target type
snow.c: In function 'get_block_rd':
snow.c:3099: warning: unused variable 'b_height'
snow.c:3089: warning: unused variable 'obmc'
snow.c: In function 'get_4block_rd':
snow.c:3181: warning: passing argument 2 of 'add_yblock' discards qualifiers from pointer target type
snow.c:3181: warning: passing argument 5 of 'add_yblock' discards qualifiers from pointer target type
snow.c:3167: warning: unused variable 'b_height'
snow.c: In function 'iterative_me':
snow.c:3317: warning: initialization discards qualifiers from pointer target type
snow.c:3318: warning: initialization discards qualifiers from pointer target type
snow.c:3319: warning: initialization discards qualifiers from pointer target type
snow.c:3320: warning: initialization discards qualifiers from pointer target type
snow.c:3321: warning: initialization discards qualifiers from pointer target type
snow.c:3322: warning: initialization discards qualifiers from pointer target type
snow.c:3323: warning: initialization discards qualifiers from pointer target type
snow.c:3324: warning: initialization discards qualifiers from pointer target type
snow.c:3453: warning: unused variable 'j'
snow.c:3453: warning: unused variable 'dia_change'
snow.c: In function 'common_init':
snow.c:3831: warning: assignment from incompatible pointer type
snow.c:3831: warning: assignment from incompatible pointer type
snow.c:3832: warning: assignment from incompatible pointer type
snow.c:3832: warning: assignment from incompatible pointer type
snow.c:3833: warning: assignment from incompatible pointer type
snow.c:3833: warning: assignment from incompatible pointer type
snow.c:3834: warning: assignment from incompatible pointer type
snow.c:3834: warning: assignment from incompatible pointer type
snow.c: At top level:
snow.c:1405: warning: 'spatial_compose53i' defined but not used
snow.c:1572: warning: 'spatial_compose97i' defined but not used
snow.c: In function 'correlate_slice_buffered':
snow.c:3633: warning: 'line' may be used uninitialized in this function
svq1.c: In function 'svq1_decode_frame_header':
svq1.c:660: warning: pointer targets in passing argument 2 of 'svq1_parse_string' differ in signedness
truemotion1.c: In function 'truemotion1_decode_frame':
truemotion1.c:375: warning: 'header.width' is used uninitialized in this function
truemotion1.c:376: warning: 'header.height' is used uninitialized in this function
truemotion1.c:377: warning: 'header.xoffset' is used uninitialized in this function
truemotion1.c:378: warning: 'header.yoffset' is used uninitialized in this function
tscc.c: In function 'decode_frame':
tscc.c:119: warning: 'pix[0]' may be used uninitialized in this function
tscc.c:119: warning: 'pix[1]' may be used uninitialized in this function
tscc.c:119: warning: 'pix[2]' may be used uninitialized in this function
tscc.c:119: warning: 'pix[3]' may be used uninitialized in this function
lzo.c: In function 'lzo1x_decode':
lzo.c:178: warning: 'back' may be used uninitialized in this function
lzo.c:178: warning: 'cnt' may be used uninitialized in this function
vc9.c: In function 'vc9_pred_dc':
vc9.c:1805: warning: pointer targets in assignment differ in signedness
vc9.c:1820: warning: pointer targets in assignment differ in signedness
vc9.c: At top level:
vc9.c:1358: warning: 'decode_i_picture_secondary_header' defined but not used
vc9.c: In function 'vc9_decode_block':
vc9.c:1841: warning: 'dc_pred_dir' may be used uninitialized in this function
vc9.c: In function 'vc9_decode_b_mb':
vc9.c:2169: warning: 'mquant' may be used uninitialized in this function
vorbis.c: In function 'vorbis_residue_decode':
vorbis.c:1107: warning: comparison is always true due to limited range of data type
vp3.c: In function 'vp3_decode_frame':
vp3.c:2508: warning: pointer targets in assignment differ in signedness
vp3.c: At top level:
vp3.c:2741: warning: 'theora_decode_comments' defined but not used
wmadec.c: In function 'wma_decode_block':
wmadec.c:875: warning: pointer targets in assignment differ in signedness
wmadec.c:876: warning: pointer targets in assignment differ in signedness
xl.c: In function 'decode_frame':
xl.c:50: warning: 'c1' may be used uninitialized in this function
xl.c:50: warning: 'c0' may be used uninitialized in this function
xl.c:50: warning: 'y3' may be used uninitialized in this function
bmp.c: In function 'bmp_decode_frame':
bmp.c:59: warning: 'rgb[0]' may be used uninitialized in this function
bmp.c:59: warning: 'rgb[1]' may be used uninitialized in this function
bmp.c:59: warning: 'rgb[2]' may be used uninitialized in this function
In file included from i386/dsputil_mmx.c:2492:
i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined
i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous definition
i386/h264dsp_mmx.c:865:1: warning: "PUT_OP" redefined
i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous definition
In file included from i386/mpegvideo_mmx.c:685:
i386/mpegvideo_mmx_template.c:25:1: warning: "PMAX" redefined
In file included from i386/mpegvideo_mmx.c:678:
i386/mpegvideo_mmx_template.c:37:1: warning: this is the location of the previous definition
utils.c: In function 'av_add_index_entry':
utils.c:1143: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
utils.c: In function 'av_read_image':
utils.c:3233: warning: pointer targets in assignment differ in signedness
utils.c:3235: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
mpeg.c: In function 'mpegps_read_pes_header':
mpeg.c:1438: warning: pointer targets in passing argument 3 of 'find_next_start_code' differ in signedness
mpeg.c: In function 'output_packet':
mpeg.c:1056: warning: 'avail_space' may be used uninitialized in this function
mpegts.c: In function 'pmt_cb':
mpegts.c:382: warning: 'language[1]' may be used uninitialized in this function
mpegts.c:382: warning: 'language[2]' may be used uninitialized in this function
mpegts.c:382: warning: 'language[3]' may be used uninitialized in this function
crc.c: In function 'crc_write_trailer':
crc.c:88: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
crc.c: In function 'framecrc_write_packet':
crc.c:99: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
rm.c: In function 'rm_read_packet':
rm.c:844: warning: 'len' may be used uninitialized in this function
avienc.c: In function 'avi_write_header':
avienc.c:475: warning: pointer targets in passing argument 2 of 'put_tag' differ in signedness
avienc.c: In function 'avi_write_ix':
avienc.c:530: warning: pointer targets in passing argument 2 of 'put_tag' differ in signedness
avienc.c:538: warning: pointer targets in passing argument 2 of 'put_tag' differ in signedness
avienc.c: In function 'avi_write_idx1':
avienc.c:598: warning: pointer targets in passing argument 2 of 'put_tag' differ in signedness
mmf.c: In function 'mmf_write_header':
mmf.c:81: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
mmf.c:95: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
mmf.c: In function 'mmf_write_trailer':
mmf.c:152: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
mmf.c:155: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
mpjpeg.c: In function 'mpjpeg_write_header':
mpjpeg.c:30: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
mpjpeg.c:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mpjpeg.c: In function 'mpjpeg_write_packet':
mpjpeg.c:40: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
mpjpeg.c:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mpjpeg.c:44: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
mpjpeg.c:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
yuv4mpeg.c: In function 'yuv4_write_packet':
yuv4mpeg.c:103: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
yuv4mpeg.c:110: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
yuv4mpeg.c: In function 'yuv4_probe':
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
yuv4mpeg.c:376: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
flvdec.c: In function 'flv_read_packet':
flvdec.c:90: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
ipmovie.c: In function 'ipmovie_probe':
ipmovie.c:510: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
ipmovie.c:510: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
nut.c: In function 'get_str':
nut.c:263: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
nut.c: In function 'put_str':
nut.c:427: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
nut.c: In function 'nut_write_header':
nut.c:528: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
nut.c: In function 'nut_read_header':
nut.c:865: warning: 'tmp_stream' may be used uninitialized in this function
nut.c:865: warning: 'tmp_mul' may be used uninitialized in this function
nut.c:865: warning: 'tmp_time' may be used uninitialized in this function
wc3movie.c: In function 'wc3_read_header':
wc3movie.c:185: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
mp3.c: In function 'id3_create_tag':
mp3.c:219: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
mp3.c:220: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
mp3.c:221: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
mp3.c:229: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
matroska.c: In function 'matroska_parse_index':
matroska.c:1658: warning: pointer targets in passing argument 3 of 'ebml_read_uint' differ in signedness
matroska.c: In function 'matroska_read_header':
matroska.c:843: warning: 'level_up' may be used uninitialized in this function
nsvdec.c: In function 'nsv_parse_NSVf_header':
nsvdec.c:325: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
nsvdec.c:365:2: warning: #warning "FIXME: Byteswap buffer as needed"
asf.c: In function 'asf_read_header':
asf.c:379: warning: unused variable 'pos_curr'
asf.c: In function 'asf_read_packet':
asf.c:712: warning: pointer targets in assignment differ in signedness
ogg2.c: In function 'ogg_read_page':
ogg2.c:223: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
oggparsevorbis.c: In function 'vorbis_header':
oggparsevorbis.c:190: warning: pointer targets in passing argument 2 of 'vorbis_comment' differ in signedness
oggparsevorbis.c: At top level:
oggparsevorbis.c:200: warning: pointer targets in initialization differ in signedness
oggparsetheora.c: In function 'theora_header':
oggparsetheora.c:83: warning: pointer targets in passing argument 2 of 'vorbis_comment' differ in signedness
oggparsetheora.c: At top level:
oggparsetheora.c:111: warning: pointer targets in initialization differ in signedness
oggparseflac.c: In function 'flac_header':
oggparseflac.c:67: warning: pointer targets in passing argument 2 of 'vorbis_comment' differ in signedness
oggparseflac.c: At top level:
oggparseflac.c:74: warning: pointer targets in initialization differ in signedness
movenc.c: In function 'mov_write_video_tag':
movenc.c:536: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c: In function 'mov_write_hdlr_tag':
movenc.c:659: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c:665: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c: In function 'mov_write_string_data_tag':
movenc.c:896: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c: In function 'mov_write_udta_tag':
movenc.c:1107: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c:1121: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c:1132: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c:1143: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
movenc.c:1154: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
pnm.c: In function 'pnm_write':
pnm.c:192: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
pnm.c:196: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
pnm.c: In function 'pam_write':
pnm.c:362: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
pnm.c: In function 'pnm_probe':
pnm.c:393: warning: pointer targets in initialization differ in signedness
pnm.c: In function 'pam_probe':
pnm.c:413: warning: pointer targets in initialization differ in signedness
sgi.c: In function 'sgi_write':
sgi.c:421: warning: pointer targets in passing argument 2 of 'rle_row' differ in signedness
aviobuf.c: In function 'url_fprintf':
aviobuf.c:575: warning: pointer targets in passing argument 2 of 'put_buffer' differ in signedness
udp.c: In function 'udp_read':
udp.c:436: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
http.c: In function 'http_connect':
http.c:200: warning: pointer targets in passing argument 1 of 'b64_encode' differ in signedness
http.c:200: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
http.c:202: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
http.c: In function 'b64_encode':
http.c:293: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
rtsp.c: In function 'rtsp_send_cmd':
rtsp.c:713: warning: pointer targets in passing argument 2 of 'url_write' differ in signedness
rtsp.c: In function 'sdp_probe':
rtsp.c:1264: warning: pointer targets in initialization differ in signedness
rtsp.c:1264: warning: pointer targets in initialization differ in signedness
rtsp.c: In function 'sdp_read_header':
rtsp.c:1295: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
rtsp.c: In function 'redir_probe':
rtsp.c:1364: warning: pointer targets in assignment differ in signedness
rtp.c: In function 'rtp_parse_packet':
rtp.c:497: warning: pointer targets in assignment differ in signedness
rtpproto.c: In function 'rtp_read':
rtpproto.c:207: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
rtpproto.c:219: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
ffmpeg.c: In function 'output_packet':
ffmpeg.c:1207: warning: pointer targets in passing argument 2 of 'av_fast_realloc' differ in signedness
ffserver.c: In function 'new_connection':
ffserver.c:661: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
ffserver.c: In function 'http_parse_request':
ffserver.c:1186: warning: pointer targets in assignment differ in signedness
ffserver.c:1222: warning: pointer targets in assignment differ in signedness
ffserver.c:1272: warning: pointer targets in assignment differ in signedness
ffserver.c:1283: warning: pointer targets in assignment differ in signedness
ffserver.c:1289: warning: pointer targets in passing argument 3 of 'extract_rates' differ in signedness
ffserver.c:1304: warning: pointer targets in assignment differ in signedness
ffserver.c:1316: warning: pointer targets in assignment differ in signedness
ffserver.c:1324: warning: pointer targets in assignment differ in signedness
ffserver.c:1353: warning: pointer targets in assignment differ in signedness
ffserver.c:1409: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
ffserver.c:1430: warning: pointer targets in assignment differ in signedness
ffserver.c:1454: warning: pointer targets in assignment differ in signedness
ffserver.c:1486: warning: pointer targets in passing argument 3 of 'extract_rates' differ in signedness
ffserver.c:1531: warning: pointer targets in assignment differ in signedness
ffserver.c:1552: warning: pointer targets in assignment differ in signedness
ffserver.c:1557: warning: pointer targets in assignment differ in signedness
ffserver.c:1568: warning: pointer targets in assignment differ in signedness
ffserver.c: In function 'rtsp_parse_request':
ffserver.c:2534: warning: pointer targets in assignment differ in signedness
ffserver.c: In function 'rtsp_cmd_describe':
ffserver.c:2744: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
ffserver.c: At top level:
ffserver.c:363: warning: 'get_longterm_datarate' defined but not used
ffserver.c: In function 'parse_ffconfig':
ffserver.c:4257: warning: 'acl.next' is used uninitialized in this function
ffserver.c:4212: warning: 'acl.action' may be used uninitialized in this function
ffserver.c:4212: warning: 'acl.first.s_addr' may be used uninitialized in this function
ffserver.c:4212: warning: 'acl.last.s_addr' may be used uninitialized in this function
null.c: In function 'Process':
null.c:59: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
fish.c: In function 'Process':
fish.c:333: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
ppm.c: In function 'Process':
ppm.c:248: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
ppm.c:284: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
watermark.c: In function 'Process':
watermark.c:168: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
drawtext.c: In function 'Configure':
drawtext.c:176: warning: pointer targets in assignment differ in signedness
drawtext.c:179: warning: pointer targets in assignment differ in signedness
drawtext.c:225: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
drawtext.c: In function 'Process':
drawtext.c:398: warning: pointer targets in passing argument 1 of 'open' differ in signedness
drawtext.c:427: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness
drawtext.c:427: warning: pointer targets in passing argument 3 of 'strftime' differ in signedness
drawtext.c:431: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_fixes.diff
Type: text/x-patch
Size: 7965 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060125/b949caf8/attachment.bin>
More information about the ffmpeg-devel
mailing list