diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-03 19:03:44 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-05 13:32:33 +0200 |
commit | e4841a404bdabfeafb917454d510b60d888cb761 (patch) | |
tree | 60b2f0daf2fb8f17ec64915da85431df35a6b591 /libavcodec/h261_parser.c | |
parent | cea87fb2c38f175b9a0bd2a46617c155e67d4794 (diff) | |
download | ffmpeg-e4841a404bdabfeafb917454d510b60d888cb761.tar.gz |
ffmpeg: fix massive leak occurring when seeking
Avoid to add frames to the vsrc_buffer in the case ist->pts <
start_time, as these frames are unused (and never released). In
particular this condition is verified with commands of the kind:
ffmpeg -i INPUT -ss TIME OUTPUT
Also allow a minor simplification.
Diffstat (limited to 'libavcodec/h261_parser.c')
0 files changed, 0 insertions, 0 deletions