diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-02 17:54:00 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-03-23 11:59:07 +0200 |
commit | c321f2abca6a5bd4b1600ffa35bf2175dd55b388 (patch) | |
tree | 0857f6d95aedee3a34704d0c3d2290d8cfe320fd /libavformat/sapenc.c | |
parent | 73ad066939bc435ba2cc47071a9dc617f8a9dda4 (diff) | |
download | ffmpeg-c321f2abca6a5bd4b1600ffa35bf2175dd55b388.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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/sapenc.c')
0 files changed, 0 insertions, 0 deletions