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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-03-03 21:19:32 +01:00
parent 9b0eabdcdf
commit fbfd2601f6
1 changed files with 1 additions and 1 deletions

View File

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