[FFmpeg-cvslog] lavf: remove disabled FF_API_AVSTREAM_QUALITY cruft

Anton Khirnov git at videolan.org
Sat Jan 28 08:05:10 CET 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 13:31:55 2012 +0100| [b32e30faa17939a8b98062f6219cc4574517f697] | committer: Anton Khirnov

lavf: remove disabled FF_API_AVSTREAM_QUALITY cruft

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b32e30faa17939a8b98062f6219cc4574517f697
---

 libavformat/avformat.h |    9 ---------
 libavformat/version.h  |    3 ---
 2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index f875c3d..8f02941 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -569,15 +569,6 @@ typedef struct AVStream {
 #endif
     enum AVDiscard discard; ///< Selects which packets can be discarded at will and do not need to be demuxed.
 
-#if FF_API_AVSTREAM_QUALITY
-    //FIXME move stuff to a flags field?
-    /**
-     * Quality, as it has been removed from AVCodecContext and put in AVVideoFrame.
-     * MN: dunno if that is the right place for it
-     */
-    attribute_deprecated float quality;
-#endif
-
     /**
      * Decoding: pts of the first frame of the stream, in stream time base.
      * Only set this if you are absolutely 100% sure that the value you set
diff --git a/libavformat/version.h b/libavformat/version.h
index 3246707..d6bf49b 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -47,9 +47,6 @@
  * Those FF_API_* defines are not part of public API.
  * They may change, break or disappear at any time.
  */
-#ifndef FF_API_AVSTREAM_QUALITY
-#define FF_API_AVSTREAM_QUALITY        (LIBAVFORMAT_VERSION_MAJOR < 54)
-#endif
 #ifndef FF_API_LOOP_INPUT
 #define FF_API_LOOP_INPUT              (LIBAVFORMAT_VERSION_MAJOR < 54)
 #endif



More information about the ffmpeg-cvslog mailing list