[FFmpeg-devel] [PATCH] options to set stream id (custom TS pid)

Michael Niedermayer michaelni
Wed Jun 30 21:40:38 CEST 2010

On Wed, Jun 30, 2010 at 09:15:14AM -0400, Mike Scheutzow wrote:
> Mike Scheutzow wrote:
>> Mike Scheutzow wrote:
>>> Michael Niedermayer wrote:
>>>>> +/* indexed by output file stream index */
>>>>> +static int streamid_map[MAX_STREAMS];
>>>> how messy would it be to dynamically allocate this?
>>>> or if not indexes should be checked to be withinn 0...MAX_STREAMS
>>>> somewhere at least
>>> The index value is properly range checked. It is done inside the 
>>> parse_number_or_die() function:
>>> idx = parse_number_or_die(opt, idx_str, OPT_INT, 0, MAX_STREAMS-1);
>> Ping. I think all issues raised have been addressed for these two patches.
>> Can someone commit the patches to svn? My post in this thread dated June 
>> 16 has the patches.
> Ping 2.

iam ok with the patch if this wasnt clear


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100630/5393ef2d/attachment.pgp>

More information about the ffmpeg-devel mailing list