]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/internal.h
configure: Remove reference to no longer existing avcodec_encode_video()
[ffmpeg] / libavcodec / internal.h
index 0daf6695e6804c40ffd6af25421d892759f6f0e5..ce4cf753d6afa1107f0b6ff690cd93e5caa4b68b 100644 (file)
 #define FF_CODEC_CAP_INIT_CLEANUP           (1 << 1)
 
 
-#ifdef DEBUG
-#   define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
-#else
-#   define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
-#endif
-
 #ifdef TRACE
 #   define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
 #else
@@ -120,14 +114,6 @@ typedef struct AVCodecInternal {
      */
     int allocate_progress;
 
-#if FF_API_OLD_ENCODE_AUDIO
-    /**
-     * Internal sample count used by avcodec_encode_audio() to fabricate pts.
-     * Can be removed along with avcodec_encode_audio().
-     */
-    int64_t sample_count;
-#endif
-
     /**
      * An audio frame with less than required samples has been submitted and
      * padded with silence. Reject all subsequent frames.