diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 83982defe377528bcd85b53028f04d66132c8cfe..13cc9786157c248d86e7a6a1074121d35873b777 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -238,7 +238,7 @@ static int encode_frame(AVCodecContext *avctx,
         return -1;
     }
     avctx->key_frame = 1;
-    avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
+    //avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
 
     return dst - frame;
 }