On 15/12/2011 11:32 AM, Mans Rullgard wrote:
-    if (buf_size<  avctx->width * avctx->height * 3) {
+    if (buf_size<  avctx->width * avctx->height * 4) {
          av_log(avctx, AV_LOG_ERROR, "Out buffer is too small.\n");
          return AVERROR(ENOMEM);
      }

Oh crap. That's a pretty massive typo on my part. Thanks Mans.

- Derek
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to