[FFmpeg-devel] [PATCH] fix utils.c:2125: undefined reference to `av_codec_get_tag'

Michael Niedermayer michaelni
Sun May 6 10:26:56 CEST 2007


Hi

On Sun, May 06, 2007 at 02:04:48PM +0800, Limin Wang wrote:
[...]
> Index: libavformat/avformat.h
> ===================================================================
> --- libavformat/avformat.h	(revision 8906)
> +++ libavformat/avformat.h	(working copy)
> @@ -123,7 +123,10 @@
>  /*************************************************/
>  /* input/output formats */
>  
> -struct AVCodecTag;
> +typedef struct AVCodecTag {
> +    int id;
> +    unsigned int tag;
> +} AVCodecTag;

this struct is not public! and does not belong into a public header

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070506/fb6398c7/attachment.pgp>



More information about the ffmpeg-devel mailing list