Cosmetics

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22110 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-02-03 13:20:31 +00:00
parent 5f37d3fbc6
commit d157c5e4d2
1 changed files with 5 additions and 5 deletions

View File

@ -432,12 +432,12 @@ static void uninit(sh_video_t *sh){
}
if (avctx) {
if (avctx && avctx->codec && avcodec_close(avctx) < 0)
mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantCloseCodec);
if (avctx->codec && avcodec_close(avctx) < 0)
mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantCloseCodec);
av_freep(&avctx->extradata);
av_freep(&avctx->palctrl);
av_freep(&avctx->slice_offset);
av_freep(&avctx->extradata);
av_freep(&avctx->palctrl);
av_freep(&avctx->slice_offset);
}
av_freep(&avctx);