oops, encoder was under ifdef decoders.
authorLoren Merritt <lorenm@u.washington.edu>
Tue, 20 Mar 2007 16:51:30 +0000 (16:51 +0000)
committerLoren Merritt <lorenm@u.washington.edu>
Tue, 20 Mar 2007 16:51:30 +0000 (16:51 +0000)
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/huffyuv.c

index 4b5fc29..f68d8e7 100644 (file)
@@ -791,7 +791,6 @@ static void decode_bgr_bitstream(HYuvContext *s, int count){
     }
 }
 
-#ifdef CONFIG_DECODERS
 static int encode_bgr_bitstream(HYuvContext *s, int count){
     int i;
 
@@ -834,6 +833,7 @@ static int encode_bgr_bitstream(HYuvContext *s, int count){
     return 0;
 }
 
+#ifdef CONFIG_DECODERS
 static void draw_slice(HYuvContext *s, int y){
     int h, cy;
     int offset[4];