aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-02 17:54:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-03-26 09:41:15 +0200
commitceeaf424513fc019228f2cb88ea468940eb61648 (patch)
tree7d5ea9af80d410a15029a30af467d58f873a86f4 /libavcodec/wma.c
parenta3d331f2d88ec77dc60f6eb8de89e8d778cc9938 (diff)
downloadffmpeg-ceeaf424513fc019228f2cb88ea468940eb61648.tar.gz
avcodec: Remove a misplaced and useless attribute_deprecated
If attribute_deprecated is used in an enum declaration, it should follow the 'enum' keyword, otherwise it's ignored silently. This is the only case of attribute_deprecated for enum declarations currently. Currently, this attribute_deprecated doesn't have any effect. If moved to the right place, it emits a warning every single time avcodec.h is included, like this: avcodec.h:2827: warning: ‘AVLPCType’ is deprecated (declared at avcodec.h:543) There is already a working attribute_deprecated for the corresponding field in AVCodecContext, so therefore this one shouldn't be needed. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commit 1b6da627d49e98fe7661c9aa9ec4e16ab04dfda4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wma.c')
0 files changed, 0 insertions, 0 deletions