avcodec/utils: Fix 'ISO C90 forbids mixed declarations and code'
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
9b0eabdcdf
commit
fbfd2601f6
@ -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…
x
Reference in New Issue
Block a user