Changeset ee6ef66d in ffmpeg

Timestamp:
May 13, 2023, 8:58:46 AM (19 months ago)
Author:
Paul B Mahol <onemda@gmail.com>
Branches:
master
Children:
e076d8a9
Parents:
8564b4ab
git-author:
Paul B Mahol <onemda@gmail.com> (05/12/23 19:01:41)
git-committer:
Paul B Mahol <onemda@gmail.com> (05/13/23 08:58:46)
Message:

avfilter/avfiltergraph: fix check for negative return

Before this commit if allocation would fail in ff_add_channel_layout()
function, function would return negative error code and this would
cause wrong format pick up later. If allocation would not fail return
code would be 0 and then format negotiation would simply fail as code
would break from the loop but with wrong return code.

Error was introduced in 6aaac24d72a7da commit.

Fixes #6638

(No files)

Note: See TracChangeset for help on using the changeset viewer.