You've already forked FFmpeg
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:
@@ -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;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "parser.h"
|
||||
#include "avcodec.h"
|
||||
|
||||
typedef struct CookParseContext {
|
||||
int duration;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* XMA2 audio parser
|
||||
*/
|
||||
|
||||
#include "parser.h"
|
||||
#include "avcodec.h"
|
||||
|
||||
typedef struct XMAParserContext{
|
||||
int skip_packets;
|
||||
|
||||
Reference in New Issue
Block a user