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>
Mon, 19 Feb 2018 01:40:54 +0000 (02:40 +0100)
commite512c83e63fced446d050da564c38ec722b08840
tree979edc7ad54b94fcb8fafed64718f7bcabba5cfc
parent4d0a4601015b83c52990e5d5d8fb34c321a7d484
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