libavcodec/mpegvideo_enc.c:883: error: Uninitialized Value
  The value read from pts was never initialized.

libavcodec/mpegvideo_enc.c:883:5: 
881.     }
882.     copy_picture_attributes(s, pic, pic_arg);
883.     pic->pts= pts; //we set this here to avoid modifiying pic_arg
         ^
884.   }
885. 
