On 24/02/12 08:03, Anton Khirnov wrote: > compute_pkt_fields() is for unreliable estimates or guessing. The > keyframe information from the parser is (at least in theory) reliable, > so it should be used even when the other guessing is disabled with the > AVFMT_FLAG_NOFILLIN flag. > > Therefore, move setting the packet keyframe flag based on parser > information from compute_pkt_fields() to read_frame_internal(). > --- > libavformat/utils.c | 12 ++++-------- > 1 files changed, 4 insertions(+), 8 deletions(-) >
Seems fine. lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
