Mercurial > libavformat.hg
diff network.h @ 5041:573d181e477c libavformat
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.
author | rbultje |
---|---|
date | Wed, 17 Jun 2009 19:04:02 +0000 |
parents | 40c9bef5b4e2 |
children | afe4a96b6832 |