I would like to avoid to handle pts rollover due to input looping. In particular the need to reinitialize filter graphs. Can I do that by modifying the AVPacket::pts after av_read_frame in order to get continuous pts, or can that mess up decoders?