mirror of
https://github.com/mpv-player/mpv
synced 2024-08-28 05:46:13 +02:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6737 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
920f3f2f7e
commit
9db1a07b9e
@ -115,9 +115,11 @@ static int init(sh_video_t *sh){
|
||||
if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND)
|
||||
ctx->do_slices=1;
|
||||
|
||||
#if LIBAVCODEC_BUILD > 4615
|
||||
if(lavc_codec->capabilities&CODEC_CAP_DR1)
|
||||
ctx->do_dr1=1;
|
||||
|
||||
#endif
|
||||
|
||||
ctx->avctx = malloc(sizeof(AVCodecContext));
|
||||
memset(ctx->avctx, 0, sizeof(AVCodecContext));
|
||||
avctx = ctx->avctx;
|
||||
|
Loading…
Reference in New Issue
Block a user