mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
indention
Originally committed as revision 8590 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6e546aaa24
commit
2de4f9eb47
@ -830,12 +830,12 @@ int avcodec_open(AVCodecContext *avctx, AVCodec *codec)
|
|||||||
avctx->codec_id = codec->id;
|
avctx->codec_id = codec->id;
|
||||||
avctx->frame_number = 0;
|
avctx->frame_number = 0;
|
||||||
if(avctx->codec->init){
|
if(avctx->codec->init){
|
||||||
ret = avctx->codec->init(avctx);
|
ret = avctx->codec->init(avctx);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
av_freep(&avctx->priv_data);
|
av_freep(&avctx->priv_data);
|
||||||
avctx->codec= NULL;
|
avctx->codec= NULL;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret=0;
|
ret=0;
|
||||||
end:
|
end:
|
||||||
|
Loading…
Reference in New Issue
Block a user