AVCodecTag is declared in riff.h, not avformat.h. Originally committed as revision 19915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 19879 to svn://svn.ffmpeg.org/ffmpeg/trunk