On 21/7/22 08:00, Andreas Rheinhardt wrote:

+    if (av_dict_set_int(&st->metadata, "loop", ctx->header.loop, 0) < 0)
+        return AVERROR(ENOMEM);
+
+    if (av_dict_set_int(&st->metadata, "reverb", ctx->header.reverb, 0) < 0)
+        return AVERROR(ENOMEM);
+
+    if (av_dict_set_int(&st->metadata, "checksum", ctx->checksum, 0) < 0)
+        return AVERROR(ENOMEM);

Don't second-guess error codes (unless you have a good reason to).


Right, don't know why I did that...

I'll apply in a few days (with the fixed return codes).

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

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to