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 "libavutil/avassert.h"
|
||||||
|
|
||||||
#include "av1_parse.h"
|
#include "av1_parse.h"
|
||||||
|
#include "avcodec.h"
|
||||||
#include "cbs.h"
|
#include "cbs.h"
|
||||||
#include "cbs_av1.h"
|
#include "cbs_av1.h"
|
||||||
#include "parser.h"
|
|
||||||
|
|
||||||
typedef struct AV1ParseContext {
|
typedef struct AV1ParseContext {
|
||||||
CodedBitstreamContext *cbc;
|
CodedBitstreamContext *cbc;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "libavutil/intreadwrite.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "parser.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
typedef struct CookParseContext {
|
typedef struct CookParseContext {
|
||||||
int duration;
|
int duration;
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
* Determines the duration for each packet.
|
* Determines the duration for each packet.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "parser.h"
|
#include "avcodec.h"
|
||||||
#include "dvaudio.h"
|
#include "dvaudio.h"
|
||||||
|
|
||||||
static int dvaudio_parse(AVCodecParserContext *s1, AVCodecContext *avctx,
|
static int dvaudio_parse(AVCodecParserContext *s1, AVCodecContext *avctx,
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
* License along with FFmpeg; if not, write to the Free Software
|
* License along with FFmpeg; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "get_bits.h"
|
#include "libavutil/intreadwrite.h"
|
||||||
#include "parser.h"
|
|
||||||
|
|
||||||
#define PCI_SIZE 980
|
#define PCI_SIZE 980
|
||||||
#define DSI_SIZE 1018
|
#define DSI_SIZE 1018
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "parser.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
static int parse(AVCodecParserContext *s,
|
static int parse(AVCodecParserContext *s,
|
||||||
AVCodecContext *avctx,
|
AVCodecContext *avctx,
|
||||||
|
|||||||
@@ -21,9 +21,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libavutil/intreadwrite.h"
|
#include "avcodec.h"
|
||||||
#include "libavcodec/get_bits.h"
|
#include "get_bits.h"
|
||||||
#include "parser.h"
|
|
||||||
|
|
||||||
static int parse(AVCodecParserContext *ctx,
|
static int parse(AVCodecParserContext *ctx,
|
||||||
AVCodecContext *avctx,
|
AVCodecContext *avctx,
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
* XMA2 audio parser
|
* XMA2 audio parser
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "parser.h"
|
#include "avcodec.h"
|
||||||
|
|
||||||
typedef struct XMAParserContext{
|
typedef struct XMAParserContext{
|
||||||
int skip_packets;
|
int skip_packets;
|
||||||
|
|||||||
Reference in New Issue
Block a user