aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparseflac.c
diff options
context:
space:
mode:
authorWolfram Gloger <wmglo@dent.med.uni-muenchen.de>2007-03-21 10:48:10 +0000
committerDiego Biurrun <diego@biurrun.de>2007-03-21 10:48:10 +0000
commitdf7625ed62897debf950e842116dc800afd8b5d7 (patch)
tree73389dff21ad207fcbe6aba255fd5149218f96dd /libavformat/oggparseflac.c
parente14f79ed375dd243f81f05655be7511a29f91e40 (diff)
downloadffmpeg-df7625ed62897debf950e842116dc800afd8b5d7.tar.gz
av_estimate_timings_from_pts() flushes the packet queue but doesn't
reset the streams' cur_dts values. This can lead to a fatal "error, non monotone timestamps ..." message later, because the out-of-date cur_dts values are used to compute some packet's dts. Fix this by calling av_read_frame_flush() and eliminate code duplication in the process. The additional hunk gives more detailed error messages. patch by Wolfram Gloger, wmglo dent.med.uni-muenchen de Originally committed as revision 8465 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/oggparseflac.c')
0 files changed, 0 insertions, 0 deletions