[FFmpeg-soc] [soc]: r4635 - concat/libavformat/playlist.c

Aurelien Jacobs aurel at gnuage.org
Mon Jul 6 22:42:48 CEST 2009


On Mon, Jul 06, 2009 at 08:18:02PM +0200, gkovacs wrote:
> Author: gkovacs
> Date: Mon Jul  6 20:18:02 2009
> New Revision: 4635
> 
> Log:
> included cmdutils for print_error
> 
> Modified:
>    concat/libavformat/playlist.c
> 
> Modified: concat/libavformat/playlist.c
> ==============================================================================
> --- concat/libavformat/playlist.c	Mon Jul  6 20:15:58 2009	(r4634)
> +++ concat/libavformat/playlist.c	Mon Jul  6 20:18:02 2009	(r4635)
> @@ -22,6 +22,7 @@
>  #include "avformat.h"
>  #include "playlist.h"
>  #include "internal.h"
> +#include <cmdutils.h>

cmdutils.o is not linked with libavformat, so you can't use those
functions here.

> @@ -43,7 +44,7 @@ void ff_playlist_make_playelem(PlayElem 
>      }
>      err = av_find_stream_info(pe->ic);
>      if (err < 0) {
> -        fprintf(stderr, "failed codec probe av_find_stream_info\n");
> +        print_error("during-av_find_stream_info", err);
>      }

You should probably use av_log() here instead.

Aurel


More information about the FFmpeg-soc mailing list