[FFmpeg-devel] [PATCH 6/6] libavformat/movenc: add dnxhr compatibility for apple players

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jul 5 11:53:47 EEST 2016


Mark Reid <mindmark <at> gmail.com> writes:

>      if (track->vos_data && track->vos_len > 0x29) {
> -        if (track->vos_data[0] == 0x00 &&
> -            track->vos_data[1] == 0x00 &&
> -            track->vos_data[2] == 0x02 &&
> -            track->vos_data[3] == 0x80 &&
> -            (track->vos_data[4] == 0x01 || track->vos_data[4] == 0x02)) {
> +        if (avpriv_dnxhd_parse_header_prefix(track->vos_data) != 0) {

This hunk and the two following hunks look unrelated 
to me.
They could be ok independently of the other change.

Carl Eugen



More information about the ffmpeg-devel mailing list