[Libav-user] ffmpeg on android - cannot write output file

Nicolas George george at nsup.org
Fri Feb 13 17:26:34 CET 2015


Le quintidi 25 pluviôse, an CCXXIII, Cen-bi Liu a écrit :
> if ((error = avio_open(&output_io_context, filename,
>                        AVIO_FLAG_WRITE)) < 0) {
>     __android_log_print(ANDROID_LOG_ERROR, "encoder","couldn't open
> output file");
>     exit(1);}

Why are you not doing anything with the error code?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150213/d458fa50/attachment.asc>


More information about the Libav-user mailing list