comparison opt.c @ 3961:573f56f4f846 libavcodec

Fixes: opt.c:327: warning: no return statement in function returning non-void opt_list return value is never checked. Approved by Michael.
author rathann
date Sun, 08 Oct 2006 21:25:22 +0000
parents c8c591fe26f8
children e10acab2322a
comparison
equal deleted inserted replaced
3960:d075bbfca527 3961:573f56f4f846
258 258
259 av_get_number(obj, name, o_out, &num, &den, &intnum); 259 av_get_number(obj, name, o_out, &num, &den, &intnum);
260 return num*intnum/den; 260 return num*intnum/den;
261 } 261 }
262 262
263 static int opt_list(void *obj, void *av_log_obj, char *unit) 263 static void opt_list(void *obj, void *av_log_obj, char *unit)
264 { 264 {
265 AVOption *opt=NULL; 265 AVOption *opt=NULL;
266 266
267 while((opt= av_next_option(obj, opt))){ 267 while((opt= av_next_option(obj, opt))){
268 if(!(opt->flags & (AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM))) 268 if(!(opt->flags & (AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM)))