1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

avcodec: Remove unnecessary parser.h inclusions

It only contains declarations for some auxiliary functions for parsing
that parsers that only work with complete packets don't need.

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-10-26 09:33:25 +01:00
parent 633d424b1b
commit 12f7a7724d
7 changed files with 9 additions and 10 deletions

View File

@@ -24,9 +24,9 @@
#include "libavutil/avassert.h"
#include "av1_parse.h"
#include "avcodec.h"
#include "cbs.h"
#include "cbs_av1.h"
#include "parser.h"
typedef struct AV1ParseContext {
CodedBitstreamContext *cbc;

View File

@@ -28,7 +28,7 @@
#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "parser.h"
#include "avcodec.h"
typedef struct CookParseContext {
int duration;

View File

@@ -23,7 +23,7 @@
* Determines the duration for each packet.
*/
#include "parser.h"
#include "avcodec.h"
#include "dvaudio.h"
static int dvaudio_parse(AVCodecParserContext *s1, AVCodecContext *avctx,

View File

@@ -18,9 +18,9 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "avcodec.h"
#include "get_bits.h"
#include "parser.h"
#include "libavutil/intreadwrite.h"
#define PCI_SIZE 980
#define DSI_SIZE 1018

View File

@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "parser.h"
#include "avcodec.h"
static int parse(AVCodecParserContext *s,
AVCodecContext *avctx,

View File

@@ -21,9 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/intreadwrite.h"
#include "libavcodec/get_bits.h"
#include "parser.h"
#include "avcodec.h"
#include "get_bits.h"
static int parse(AVCodecParserContext *ctx,
AVCodecContext *avctx,

View File

@@ -21,7 +21,7 @@
* XMA2 audio parser
*/
#include "parser.h"
#include "avcodec.h"
typedef struct XMAParserContext{
int skip_packets;