mirror of https://github.com/mpv-player/mpv
vd_ffmpeg.c: remove useless realvideo avctx->sub_id setting
Libavcodec has ignored the caller-set sub_id value since 2006.
This commit is contained in:
parent
8b5efd6455
commit
c0b7851f23
|
@ -337,7 +337,6 @@ static int init(sh_video_t *sh)
|
|||
FF_INPUT_BUFFER_PADDING_SIZE);
|
||||
memcpy(avctx->extradata, sh->bih + 1, avctx->extradata_size);
|
||||
}
|
||||
avctx->sub_id = AV_RB32(avctx->extradata + 4);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue