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

Mike Scheutzow mike.scheutzow
Wed Jun 30 15:15:14 CEST 2010


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.

Mike Scheutzow



More information about the ffmpeg-devel mailing list