On 14/03/15 12:38, Nicolas George wrote:
Le quartidi 24 ventôse, an CCXXIII, Luca Barbato a écrit :
+    if (e) {
+        av_log(s, AV_LOG_ERROR,
+               "Cannot get the image data "
+               "event_error: response_type:%u error_code:%u "
+               "sequence:%u resource_id:%u minor_code:%u major_code:%u.\n",
+               e->response_type, e->error_code,
+               e->sequence, e->resource_id, e->minor_code, e->major_code);
+        return AVERROR(EACCES);

EACCES is "Permission denied", this is probably not what you want.


With the second patch that should be the only remaining possibility, do you have a better error in mind?

(I do not have the time to write the e->error_code conversion routine today)

lu



_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to