avformat/mpegtsenc: move some code around and simplify a bit
authorMarton Balint <cus@passwd.hu>
Wed, 14 Aug 2019 22:51:10 +0000 (00:51 +0200)
committerMarton Balint <cus@passwd.hu>
Fri, 23 Aug 2019 20:49:01 +0000 (22:49 +0200)
commit5c119bf189c3a8806991e6909f9dfc2686189e5e
tree753c12cb8f4d368c927b3b3892f4d34e9738f05c
parent8bf732cda69bb93be200f8f7e56ee97dd44ad334
avformat/mpegtsenc: move some code around and simplify a bit

PCR does not need to be recalcualted for CBR when inserting a NULL or PCR only
packet.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mpegtsenc.c