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

libavcodec/mpegvideo_enc.c:1028:9: 
1026.         copy_picture_attributes(s, pic, pic_arg);
1027.         pic->display_picture_number = display_picture_number;
1028.         pic->pts = pts; // we set this here to avoid modifiying pic_arg
              ^
1029.     }
1030. 
