2019-04-10 20:00 GMT+02:00, Yufei He <y...@matrox.com>: > https://drive.google.com/open?id=1Rugz-tKCNDViN-zxJ9pQyKqSi_Eos7QD > > On decoding the file this link, avctx->extradata is wrong > data, there is no valid sps and pps. > > Actually, mxf files does not need extradata. normally > sps and pps are stored in every IDR frame.
This is not true for all mxf files... > My decoder expects right extradata. Yes, I can add > protection to check if it's valid. > > I debugged with h264dec.c, it can not find valid sps pps either. But why should it abort if the extradata is not valid but unneeded? Feel free to send a patch that detects in the mxf demuxer if extradata has to be inserted or not. See also ticket #4820. Carl Eugen _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".