Re: [FFmpeg-devel] [PATCH] lavc/cbs: avoid avcodec.h dependency

2021-05-31 Thread James Almer
On 5/31/2021 7:03 AM, Anton Khirnov wrote: Include only the headers that are actually needed. --- libavcodec/cbs.c | 1 + libavcodec/cbs.h | 7 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c index bbfafb6530..8d50ea1432 100644 ---

[FFmpeg-devel] [PATCH] lavc/cbs: avoid avcodec.h dependency

2021-05-31 Thread Anton Khirnov
Include only the headers that are actually needed. --- libavcodec/cbs.c | 1 + libavcodec/cbs.h | 7 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs.c b/libavcodec/cbs.c index bbfafb6530..8d50ea1432 100644 --- a/libavcodec/cbs.c +++ b/libavcodec/cbs.c @@