History

avcodec/internal: Move ff_samples_to_time_base() to encode.h

It is only used by encoders; in fact, AVCodecContext.time_base is only used by encoders, so it is only useful for encoders. Also constify the AVCodecContext parameter in it. Also fixup the other headers a bit while removing now unnecessary internal.h inclusions.

Andreas Rheinhardt committed 4 years ago

Commit 59eadb51 parent b9eaf7711 files · +13 −22Browse files

Showing the changes to libavcodec/audio_frame_queue.c (1 of 11 files). Show all

Unified · Split

libavcodec/audio_frame_queue.c+1−1
@@ -22,7 +22,7 @@ · 21 unmodified lines
2222 #include "libavutil/attributes.h"
2323 #include "libavutil/common.h"
2424 #include "audio_frame_queue.h"
25−#include "internal.h"
25+#include "encode.h"
2626 #include "libavutil/avassert.h"
2727
2828 av_cold void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t