In function handle_packet()
of mpegts.c (libavformat), I got a position of positive value which is lesser than 188. Which cause assertion failure. Could you please tell the reason for this issue and also suggest a solution.
pos = avio_tell(ts->stream->pb); // pos giving +ve value less than 188
av_assert0(pos >= TS_PACKET_SIZE). // which cause assertion issue