Hi

2008/4/4, Baptiste Coudurier <[EMAIL PROTECTED]>:
> Hi,
>
>  On Fri, Apr 04, 2008 at 01:50:18AM +0800, zhentan feng wrote:
>  > [...]
>  >
>  > --- ff_pes_cal_header_1/mpegpesenc.c  2008-04-03 21:32:51.000000000 +0800
>  > +++ 4.3/mpegpesenc.c  2008-04-04 01:41:44.000000000 +0800
>  > @@ -37,6 +37,7 @@
>
> >      for(i=0;i<ctx->nb_streams;i++) {
>  >          st = ctx->streams[i];
>  >          stream = st->priv_data;
>
> > +        stream->format = PES_FMT_TS;/* just initial for TS */
>  >          av_set_pts_info(st, 64, 1, 90000);
>
>  Separate patch.
>
>
>  > [...]
>  >
>  >          switch(st->codec->codec_type) {
>
> > @@ -397,9 +398,10 @@
>  >   * Write packet into PES FIFO.
>  >   * @param [in] ctx  the AVFormatContext which contains streams.
>  >   * @param [in] pkt  the packet to write.
>  > + * @param [in] the pointer point to variable in PS struct
>  >   * @return  NULL
>  >   */
>  > -void ff_pes_write_packet(AVFormatContext *ctx, AVPacket *pkt)
>  > +void ff_pes_write_packet(AVFormatContext *ctx, AVPacket *pkt, int 
> *packet_number)
>  >  {
>
>  Why a pointer ? Is the variable modified ?
No modified.

The new patch names "ff_pes_write_packet.diff" shows the changes
extract common code of ff_pes_write_packet().
The patch diff with the current code which applied the last patch
names "FMT_assignment_modify.diff".


-- 
Best wishes~

Attachment: ff_pes_write_packet.diff
Description: Binary data

_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to