avcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/189/head
Michael Niedermayer 9 years ago
parent 9b0eabdcdf
commit fbfd2601f6
  1. 2
      libavcodec/utils.c

@ -3682,9 +3682,9 @@ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx)
#ifdef TEST #ifdef TEST
int main(void){ int main(void){
avcodec_register_all();
AVCodec *codec = NULL; AVCodec *codec = NULL;
int ret = 0; int ret = 0;
avcodec_register_all();
while (codec = av_codec_next(codec)) { while (codec = av_codec_next(codec)) {
if (av_codec_is_encoder(codec)) { if (av_codec_is_encoder(codec)) {

Loading…
Cancel
Save