• Anton Khirnov's avatar
    lavc/dv: remove ff_dvvideo_init() · d1ba5d88
    Anton Khirnov authored
    The function contains only two assignments, setting DVVideoContext.avctx
    and AVCodecContext.chroma_sample_location. However, the decoder does not
    use the former, and the encoder should not be setting the latter.
    
    Therefore move the first assignment to dvenc and the second to dvdec.
    Make the encoder warn if the user-signalled chroma sample location does
    not match the supported one, and return an error on higher compliance
    levels.
    d1ba5d88
mxf_dv25 147 Bytes