]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/internal.h
rtmpproto: fix compilation without optimizations
[ffmpeg] / libavcodec / internal.h
index 8f00695dc80e92aaf923aa4ba8a2c4afc01cd059..993c42f08959825ad0ad05437dde2bd9c6935888 100644 (file)
@@ -82,6 +82,13 @@ typedef struct AVCodecInternal {
      */
     uint8_t *byte_buffer;
     unsigned int byte_buffer_size;
+
+    void *frame_thread_encoder;
+
+    /**
+     * Number of audio samples to skip at the start of the next decoded frame
+     */
+    int skip_samples;
 } AVCodecInternal;
 
 struct AVCodecDefault {
@@ -167,4 +174,8 @@ static av_always_inline int64_t ff_samples_to_time_base(AVCodecContext *avctx,
 
 int ff_thread_can_start_frame(AVCodecContext *avctx);
 
+int ff_get_logical_cpus(AVCodecContext *avctx);
+
+int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
+
 #endif /* AVCODEC_INTERNAL_H */