$NetBSD: patch-gb,v 1.5 2009/02/19 12:58:03 drochner Exp $

--- src/combined/ffmpeg/Makefile.in.orig	2009-02-17 16:27:30.000000000 +0100
+++ src/combined/ffmpeg/Makefile.in
@@ -890,7 +890,7 @@ avcodec_video.list: AV_CODECS:=/CODEC_ID
 avcodec_audio.list avcodec_video.list:
 	echo '#include "$(srcdir)/ffmpeg_decoder.h"' | $(AV_CPP) - |\
 	  sed -e $(AV_CODECS)'! d; s/^\s*//; s/[=,].*//; /^$$/ d' |\
-	  head -n -1 >$@
+	  sed '$$d' >$@
 
 # Generate the mappings. These are #included where needed.
 ff_%_list.h: $(srcdir)/mkcodeclist.pl avcodec_%.list $(srcdir)/xine_%.list
