[FFmpeg-devel] [libav-devel] [PATCH] avformat/rmenc: limit packet size
andreas.cadhalpun at googlemail.com
Mon Mar 2 16:56:34 CET 2015
On 02.03.2015 16:21, Luca Barbato wrote:
> On 02/03/15 16:06, Andreas Cadhalpun wrote:
>> Yes, the rm format can contain larger frames split into slices and
>> packed in multiple packets. But currently the rv10/rv20 encoders always
>> produce a whole frame and the rm muxer always produces one packet per
> Then there is the missing_feature logger call and AVERROR(ENOSYS).
> You could make the constant self-explanatory by doing something like
> #define MAX_HEADER_SIZE (7 + 4 + 12)
> #define MAX_PACKET_SIZE (UINT16_MAX - MAX_HEADER_SIZE)
Fine with me. New patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1682 bytes
Desc: not available
More information about the ffmpeg-devel