Browse Source

indention

Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
2de4f9eb47
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      libavcodec/utils.c

+ 6
- 6
libavcodec/utils.c View File

@@ -830,12 +830,12 @@ int avcodec_open(AVCodecContext *avctx, AVCodec *codec)
avctx->codec_id = codec->id;
avctx->frame_number = 0;
if(avctx->codec->init){
ret = avctx->codec->init(avctx);
if (ret < 0) {
av_freep(&avctx->priv_data);
avctx->codec= NULL;
goto end;
}
ret = avctx->codec->init(avctx);
if (ret < 0) {
av_freep(&avctx->priv_data);
avctx->codec= NULL;
goto end;
}
}
ret=0;
end:


Loading…
Cancel
Save