libavformat/mux.c:601: error: Uninitialized Value
  The value read from ret was never initialized.

libavformat/mux.c:601:5: 
599.         av_opt_free(s->priv_data);
600.     av_freep(&s->priv_data);
601.     return ret;
         ^
602. }
