mirror of https://github.com/mpv-player/mpv
10l (broken ffmpeg12)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8265 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ba6ccfdcb9
commit
8393b4b55d
|
@ -249,7 +249,8 @@ static int init(sh_video_t *sh){
|
|||
}
|
||||
|
||||
#if LIBAVCODEC_BUILD >= 4639
|
||||
avctx->bits_per_sample= sh->bih->biBitCount;
|
||||
if(sh->bih)
|
||||
avctx->bits_per_sample= sh->bih->biBitCount;
|
||||
#endif
|
||||
|
||||
/* open it */
|
||||
|
|
Loading…
Reference in New Issue