]> git.sesse.net Git - ffmpeg/commit
avformat/rm: limit packet size
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 2 Mar 2015 14:46:44 +0000 (15:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Mar 2015 15:57:57 +0000 (16:57 +0100)
commit08728f400b8367dc8c983036cb2eff3a2891322b
tree25c6887fd8d614690dae1d3636262d879241ea46
parent7c9e7bd4257a97dfcd287f77c5d27f3c8a74da34
avformat/rm: limit packet size

The chunk size is limited to 0xFFFF (written by avio_wb16), so make
sure that the packet size is not too large.

Such large frames need to be split into slices smaller than 64 kB, but
that is currently supported neither by the rv10/rv20 encoders nor the rm
muxer.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
See Ticket244

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