libavdevice/audio.c:275: error: Uninitialized Value
  The value read from ret was never initialized.

libavdevice/audio.c:275:5: 
273.         }
274.     }
275.     pkt->size = ret;
         ^
276. 
277.     /* compute pts of the start of the packet */
