[FFmpeg-devel] [PATCH 1/4] tableprint: Fix use of a size_t print with MSVC

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Jan 15 22:34:27 CET 2013

On 15/01/2013 4:31 PM, Reimar Döffinger wrote:
> I don't mind, but personally I think the size_t type is just a bad idea.
> Using e.g. int and ordinary %d seems preferable to me.
> It's not like we'll ever have a table with more than 2 billion entries
> (looking forward to a 4 GB ffmpeg binary...).

I thought about this, and, technically, size_t is correct thing to use
for an array subscript, so I figured it's the "most good" approach (read:
least flames).

I don't really have a problem with %d, but others might. YMMV.

- Derek

More information about the ffmpeg-devel mailing list