[FFmpeg-devel] [PATCH] make packet_size in AVFormatContext unsigned

Ronald S. Bultje rsbultje
Mon Jun 15 23:49:18 CEST 2009


Hi,

On Mon, Jun 15, 2009 at 5:43 PM, Michael Niedermayer<michaelni at gmx.at> wrote:
> i cant follow your reasoning or how any of this is related to the type

1) I would like to store the value in ASFDemuxContext->packet_size
somewhere so I can access (read) it from the outside (rtp_asf.c), and
AVFormatContext->packet_size seemed like the ideal location for
storing such a value.
2) I submitted a patch to remove ASFDemuxContext->packet_size and
store its value in AVFormatContext->packet_size, but you rejected such
a patch because ASFDemuxContext->packet_size is unsigned and
AVFormatcontext->packet_size is signed
3) upon closer inspection, you said you might accept the patch if I
made AVFormatcontext->packet_size unsigned
4) here's the patch

Ronald



More information about the ffmpeg-devel mailing list