From e14e53e893bd6c7c7af7ba397b5a9ff3212dee6e Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 14 Jun 2017 18:04:48 +0200 Subject: [PATCH] i263: limit the number of frames tested --- src/codecs/h263/intel263.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codecs/h263/intel263.rs b/src/codecs/h263/intel263.rs index 7ef46e6..fb9459c 100644 --- a/src/codecs/h263/intel263.rs +++ b/src/codecs/h263/intel263.rs @@ -557,7 +557,7 @@ mod test { panic!("error"); } let pkt = pktres.unwrap(); - //if pkt.get_pts().unwrap() > 146 { break; } + if pkt.get_pts().unwrap() > 16 { break; } let streamno = pkt.get_stream().get_id() as usize; if let Some(ref mut dec) = decs[streamno] { let frm = dec.decode(&pkt).unwrap(); -- 2.39.5