mpegtsenc: prevent pcr_packet_period==0
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 14:50:06 +0000 (16:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 14:50:06 +0000 (16:50 +0200)
commit91bdced363cd21250b55667b6dbef96c676d26fc
tree44f7e74fe5063f0e47b6c7a49ea33384134fd268
parent1321e6eaa73ec3d5015a58481091c3ea8019bb3e
mpegtsenc: prevent pcr_packet_period==0

a period of 1 is the smallest that makes sense

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegtsenc.c