avfilter/formats: fix wrong function name in error message
authorJun Zhao <jun.zhao@intel.com>
Mon, 4 Dec 2017 04:50:34 +0000 (12:50 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commit15df68bf5059da248e795e813bc3e40054b7ee22
tree430e1cd054212c504f66662dc3124cc48f2ea418
parentf4cce67dca66c763997e7df02518aa439f2f4424
avfilter/formats: fix wrong function name in error message

Use perdefined micro __FUNCTION__ rather than hard coding function name
to fix wrong function name in error message.

Signed-off-by: Jun Zhao <jun.zhao@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4280948702bc256e21c375790b889c735d233b0d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/formats.c