Michael Niedermayer <[email protected]> added the comment: [...] > @@ -3764,6 +3764,10 @@ > "B picture before any references, skipping\n"); > return -1; > } > + if(slice_type != FF_I_TYPE && !h->sps.ref_frame_count) { > + av_log(h->s.avctx, AV_LOG_ERROR, "impossible ref_frame_count for > non-I picture\n"); > + return -1; > + }
the spec says 2,4,7 and 9 are allowed, your test does not seem to match that [...] _____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue1228> _____________________________________________________
