On Tue, Nov 22, 2011 at 07:19:58AM +0100, Anton Khirnov wrote:
> ---
>  avconv.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/avconv.c b/avconv.c
> index b441abb..013d2ce 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -1840,7 +1840,7 @@ static int transcode_subtitles(InputStream *ist, 
> AVPacket *pkt, int *got_output)
>  }
>  
>  /* pkt = NULL means EOF (needed to flush decoder buffers) */
> -static int output_packet(InputStream *ist, int ist_index,
> +static int output_packet(InputStream *ist,
>                           OutputStream *ost_table, int nb_ostreams,
>                           const AVPacket *pkt)
>  {
> @@ -2511,7 +2511,7 @@ static int transcode(OutputFile *output_files,
>          }
>  
>          //fprintf(stderr,"read #%d.%d size=%d\n", ist->file_index, 
> ist->st->index, pkt.size);
> -        if (output_packet(ist, ist_index, output_streams, nb_output_streams, 
> &pkt) < 0) {
> +        if (output_packet(ist, output_streams, nb_output_streams, &pkt) < 0) 
> {
>  
>              av_log(NULL, AV_LOG_ERROR, "Error while decoding stream 
> #%d:%d\n",
>                     ist->file_index, ist->st->index);
> @@ -2532,7 +2532,7 @@ static int transcode(OutputFile *output_files,
>      for (i = 0; i < nb_input_streams; i++) {
>          ist = &input_streams[i];
>          if (ist->decoding_needed) {
> -            output_packet(ist, i, output_streams, nb_output_streams, NULL);
> +            output_packet(ist, output_streams, nb_output_streams, NULL);
>          }
>      }
>      flush_encoders(output_streams, nb_output_streams);

ok

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to