1 Feb
2011
1 Feb
'11
4:10 p.m.
Hi, On Sun, Jan 30, 2011 at 2:33 PM, Anssi Hannula <anssi.hannula at iki.fi> wrote:
@@ -627,6 +627,8 @@ typedef struct AVStream { ? ? ? ? int64_t last_dts; ? ? ? ? int64_t duration_gcd; ? ? ? ? int duration_count; + ? ? ? ?int codec_tb_matches_dts; + ? ? ? ?double codec_tb_dur_error; ? ? ? ? double duration_error[MAX_STD_TIMEBASES]; ? ? ? ? int64_t codec_info_duration; ? ? } *info;
These are only used in av_find_stream_info(), adding them to AVStream in the middle breaks ABI and increases size for something that I don't think should be in there. Can you locally allocate and free an array instead, or create a AVFindStreamInfo array for these kind of temp values to be shared between functions? Ronald