Set restrictions on packet_size, as per ISO-11172 / H-222 specifications
commit5ffd35b3fcd3b47165b9a3e7e3594a6101ba8e3a
authorrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 17 Jun 2009 19:04:02 +0000 (17 19:04 +0000)
committerrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 17 Jun 2009 19:04:02 +0000 (17 19:04 +0000)
tree512efc97f598cbb272b7ece2e0a08661f0d25881
parent7796d7b525f2796f400170135508374c10ed2a15
Set restrictions on packet_size, as per ISO-11172 / H-222 specifications
(max packet size should fit in 13 bits as a kB value, so 1<<23, plus the
header which is 10 bytes), and as per mpegenc.c internal assumptions
(min packet size is 20 bytes). See "[PATCH] make packet_size in
AVFormatContext unsigned" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/mpegenc.c