avformat/mpegtsenc: Do not create invalid files from annex b streams without SPS/PPS
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Feb 2015 21:31:47 +0000 (22:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Feb 2015 22:13:15 +0000 (23:13 +0100)
commit33650e0e42d6e8e0daf5e403e317a2ce0bf36acb
treee50e27d71483ebd8d4dd8fa365a101327b8bbca4
parentb6f577dbb2afde4111a1820435ab2c5afbf78e12
avformat/mpegtsenc: Do not create invalid files from annex b streams without SPS/PPS

use global headers to create SPS/PPS when they are available

Fixes Ticket4248

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