]> git.sesse.net Git - ffmpeg/commit
lavc/videotoolboxenc: make transfer_fnc initialized for unsupport function
authorLimin Wang <lance.lmwang@gmail.com>
Wed, 17 Jul 2019 22:59:35 +0000 (06:59 +0800)
committerRick Kern <rick@8birdsvideo.com>
Sun, 11 Aug 2019 14:52:15 +0000 (10:52 -0400)
commit1ee863a7b05aaf358c43c3a788e020cc1c752c59
tree9191c39e9a513aad0f23847abcd6d03cbdbb7903
parent391b67fcb58f95b5cc65b75070fd9a3dce4f8ac6
lavc/videotoolboxenc: make transfer_fnc initialized for unsupport function

The current function will report one error message, but the caller func
haven't check it, so change the default to process as AVCOL_TRC_UNSPECIFIED.

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Signed-off-by: Rick Kern <kernrj@gmail.com>
libavcodec/videotoolboxenc.c