diff options
author | Oded Shimon <ods15@ods15.dyndns.org> | 2008-02-04 10:27:32 +0000 |
---|---|---|
committer | Oded Shimon <ods15@ods15.dyndns.org> | 2008-02-04 10:27:32 +0000 |
commit | 103d74ea5c0cf187eabd1d15247693b6eaf45ba0 (patch) | |
tree | 2b04d8062553128ebd192c6e19c13dcba2c8e677 /libavformat/nutdec.c | |
parent | 1db38dad337a8e62682bcfce20e4ef3f6990c2d8 (diff) | |
download | ffmpeg-103d74ea5c0cf187eabd1d15247693b6eaf45ba0.tar.gz |
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params
Originally committed as revision 11851 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index b457b47646..10f0198092 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -427,7 +427,7 @@ static int decode_syncpoint(NUTContext *nut, int64_t *ts, int64_t *back_ptr){ if(*back_ptr < 0) return -1; - ff_nut_reset_ts(nut, nut->time_base[tmp % nut->time_base_count], tmp); + ff_nut_reset_ts(nut, nut->time_base[tmp % nut->time_base_count], tmp / nut->time_base_count); if(skip_reserved(bc, end) || get_checksum(bc)){ av_log(s, AV_LOG_ERROR, "sync point checksum mismatch\n"); |