diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 20:04:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-16 20:04:04 +0000 |
commit | e07b882b4dcdc6fdf807414aebe176a46dd773da (patch) | |
tree | b5753487d7c958983018f346a6b2f75f97ba13a9 /libavformat/avformat.h | |
parent | d25130eb236ac30698ce1c92f27b3480ba1e0718 (diff) | |
download | ffmpeg-e07b882b4dcdc6fdf807414aebe176a46dd773da.tar.gz |
Improve amortized worst case speed of the muxers packet interleaving code
from O(packets_in_the_file) to O(num_of_streams).
Originally committed as revision 19887 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a064d76f02..1fd6ec0475 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -452,10 +452,10 @@ typedef struct AVStream { int probe_packets; /** - * Number of packets in packet_buffer for this stream when muxing. + * last packet in packet_buffer for this stream when muxing. * used internally, NOT PART OF PUBLIC API, dont read or write from outside of libav* */ - int num_in_packet_buffer; + struct AVPacketList *last_in_packet_buffer; } AVStream; #define AV_PROGRAM_RUNNING 1 |