[FFmpeg-soc] [soc]: r5070 - concat/ffmpeg.c.diff
Diego Biurrun
diego at biurrun.de
Thu Aug 13 12:25:58 CEST 2009
On Thu, Aug 13, 2009 at 12:20:42PM +0200, gkovacs wrote:
>
> Log:
> allow introduction of new streams by resizing ist_table
>
> --- concat/ffmpeg.c.diff Thu Aug 13 11:28:22 2009 (r5069)
> +++ concat/ffmpeg.c.diff Thu Aug 13 12:20:42 2009 (r5070)
> ++ if (!ist_table[pkt.stream_index]) {
> ++ ist = ist_table[pkt.stream_index] = av_mallocz(sizeof(AVInputStream));
> ++ ist->st = is->streams[pkt.stream_index];
> ++ ist->file_index = file_index;
> ++ ist->decoding_needed = 1;
> ++ ist->is_start = 1;
> ++ ist->discard = 0;
> ++ ist->sample_index = 0;
> ++ ist->index = file_table[file_index].ist_index + pkt.stream_index;
> ++ ist->pts = 0;
> ++ ist->next_pts = AV_NOPTS_VALUE;
This should be aligned.
Diego
More information about the FFmpeg-soc
mailing list