mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
remove useless close funcs
Originally committed as revision 13835 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2562ccb38d
commit
9b64a036c0
@ -172,11 +172,6 @@ static int au_read_packet(AVFormatContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int au_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_AU_DEMUXER
|
#ifdef CONFIG_AU_DEMUXER
|
||||||
AVInputFormat au_demuxer = {
|
AVInputFormat au_demuxer = {
|
||||||
"au",
|
"au",
|
||||||
@ -185,7 +180,7 @@ AVInputFormat au_demuxer = {
|
|||||||
au_probe,
|
au_probe,
|
||||||
au_read_header,
|
au_read_header,
|
||||||
au_read_packet,
|
au_read_packet,
|
||||||
au_read_close,
|
NULL,
|
||||||
pcm_read_seek,
|
pcm_read_seek,
|
||||||
.codec_tag= (const AVCodecTag*[]){codec_au_tags, 0},
|
.codec_tag= (const AVCodecTag*[]){codec_au_tags, 0},
|
||||||
};
|
};
|
||||||
|
@ -185,13 +185,6 @@ static int flic_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int flic_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
// FlicDemuxContext *flic = s->priv_data;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat flic_demuxer = {
|
AVInputFormat flic_demuxer = {
|
||||||
"flic",
|
"flic",
|
||||||
NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"),
|
NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"),
|
||||||
@ -199,5 +192,4 @@ AVInputFormat flic_demuxer = {
|
|||||||
flic_probe,
|
flic_probe,
|
||||||
flic_read_header,
|
flic_read_header,
|
||||||
flic_read_packet,
|
flic_read_packet,
|
||||||
flic_read_close,
|
|
||||||
};
|
};
|
||||||
|
@ -280,12 +280,6 @@ static int idcin_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int idcin_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat idcin_demuxer = {
|
AVInputFormat idcin_demuxer = {
|
||||||
"idcin",
|
"idcin",
|
||||||
NULL_IF_CONFIG_SMALL("id CIN format"),
|
NULL_IF_CONFIG_SMALL("id CIN format"),
|
||||||
@ -293,5 +287,4 @@ AVInputFormat idcin_demuxer = {
|
|||||||
idcin_probe,
|
idcin_probe,
|
||||||
idcin_read_header,
|
idcin_read_header,
|
||||||
idcin_read_packet,
|
idcin_read_packet,
|
||||||
idcin_read_close,
|
|
||||||
};
|
};
|
||||||
|
@ -270,13 +270,6 @@ static int roq_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int roq_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
// RoqDemuxContext *roq = s->priv_data;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat roq_demuxer = {
|
AVInputFormat roq_demuxer = {
|
||||||
"RoQ",
|
"RoQ",
|
||||||
NULL_IF_CONFIG_SMALL("id RoQ format"),
|
NULL_IF_CONFIG_SMALL("id RoQ format"),
|
||||||
@ -284,5 +277,4 @@ AVInputFormat roq_demuxer = {
|
|||||||
roq_probe,
|
roq_probe,
|
||||||
roq_read_header,
|
roq_read_header,
|
||||||
roq_read_packet,
|
roq_read_packet,
|
||||||
roq_read_close,
|
|
||||||
};
|
};
|
||||||
|
@ -607,13 +607,6 @@ static int ipmovie_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ipmovie_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
// IPMVEContext *ipmovie = s->priv_data;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat ipmovie_demuxer = {
|
AVInputFormat ipmovie_demuxer = {
|
||||||
"ipmovie",
|
"ipmovie",
|
||||||
NULL_IF_CONFIG_SMALL("Interplay MVE format"),
|
NULL_IF_CONFIG_SMALL("Interplay MVE format"),
|
||||||
@ -621,5 +614,4 @@ AVInputFormat ipmovie_demuxer = {
|
|||||||
ipmovie_probe,
|
ipmovie_probe,
|
||||||
ipmovie_read_header,
|
ipmovie_read_header,
|
||||||
ipmovie_read_packet,
|
ipmovie_read_packet,
|
||||||
ipmovie_read_close,
|
|
||||||
};
|
};
|
||||||
|
@ -549,11 +549,6 @@ static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mp3_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_MUXERS
|
#ifdef CONFIG_MUXERS
|
||||||
/* simple formats */
|
/* simple formats */
|
||||||
|
|
||||||
@ -651,7 +646,6 @@ AVInputFormat mp3_demuxer = {
|
|||||||
mp3_read_probe,
|
mp3_read_probe,
|
||||||
mp3_read_header,
|
mp3_read_header,
|
||||||
mp3_read_packet,
|
mp3_read_packet,
|
||||||
mp3_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "mp2,mp3,m2a", /* XXX: use probe */
|
.extensions = "mp2,mp3,m2a", /* XXX: use probe */
|
||||||
};
|
};
|
||||||
|
@ -542,11 +542,6 @@ static int mpegps_read_packet(AVFormatContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mpegps_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
|
static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
|
||||||
int64_t *ppos, int64_t pos_limit)
|
int64_t *ppos, int64_t pos_limit)
|
||||||
{
|
{
|
||||||
@ -588,7 +583,7 @@ AVInputFormat mpegps_demuxer = {
|
|||||||
mpegps_probe,
|
mpegps_probe,
|
||||||
mpegps_read_header,
|
mpegps_read_header,
|
||||||
mpegps_read_packet,
|
mpegps_read_packet,
|
||||||
mpegps_read_close,
|
NULL,
|
||||||
NULL, //mpegps_read_seek,
|
NULL, //mpegps_read_seek,
|
||||||
mpegps_read_dts,
|
mpegps_read_dts,
|
||||||
.flags = AVFMT_SHOW_IDS,
|
.flags = AVFMT_SHOW_IDS,
|
||||||
|
@ -188,11 +188,6 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int raw_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int pcm_read_seek(AVFormatContext *s,
|
int pcm_read_seek(AVFormatContext *s,
|
||||||
int stream_index, int64_t timestamp, int flags)
|
int stream_index, int64_t timestamp, int flags)
|
||||||
{
|
{
|
||||||
@ -436,7 +431,6 @@ AVInputFormat shorten_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "shn",
|
.extensions = "shn",
|
||||||
.value = CODEC_ID_SHORTEN,
|
.value = CODEC_ID_SHORTEN,
|
||||||
@ -449,7 +443,6 @@ AVInputFormat mlp_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "mlp",
|
.extensions = "mlp",
|
||||||
.value = CODEC_ID_MLP,
|
.value = CODEC_ID_MLP,
|
||||||
@ -462,7 +455,6 @@ AVInputFormat flac_demuxer = {
|
|||||||
flac_probe,
|
flac_probe,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "flac",
|
.extensions = "flac",
|
||||||
.value = CODEC_ID_FLAC,
|
.value = CODEC_ID_FLAC,
|
||||||
@ -491,7 +483,6 @@ AVInputFormat ac3_demuxer = {
|
|||||||
ac3_probe,
|
ac3_probe,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "ac3",
|
.extensions = "ac3",
|
||||||
.value = CODEC_ID_AC3,
|
.value = CODEC_ID_AC3,
|
||||||
@ -534,7 +525,6 @@ AVInputFormat dirac_demuxer = {
|
|||||||
dirac_probe,
|
dirac_probe,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.value = CODEC_ID_DIRAC,
|
.value = CODEC_ID_DIRAC,
|
||||||
};
|
};
|
||||||
@ -561,7 +551,6 @@ AVInputFormat dts_demuxer = {
|
|||||||
dts_probe,
|
dts_probe,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "dts",
|
.extensions = "dts",
|
||||||
.value = CODEC_ID_DTS,
|
.value = CODEC_ID_DTS,
|
||||||
@ -574,7 +563,6 @@ AVInputFormat aac_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "aac",
|
.extensions = "aac",
|
||||||
.value = CODEC_ID_AAC,
|
.value = CODEC_ID_AAC,
|
||||||
@ -587,7 +575,6 @@ AVInputFormat gsm_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
audio_read_header,
|
audio_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "gsm",
|
.extensions = "gsm",
|
||||||
.value = CODEC_ID_GSM,
|
.value = CODEC_ID_GSM,
|
||||||
@ -615,7 +602,6 @@ AVInputFormat h261_demuxer = {
|
|||||||
h261_probe,
|
h261_probe,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "h261",
|
.extensions = "h261",
|
||||||
.value = CODEC_ID_H261,
|
.value = CODEC_ID_H261,
|
||||||
@ -643,7 +629,6 @@ AVInputFormat h263_demuxer = {
|
|||||||
h263_probe,
|
h263_probe,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
// .extensions = "h263", //FIXME remove after writing mpeg4_probe
|
// .extensions = "h263", //FIXME remove after writing mpeg4_probe
|
||||||
.value = CODEC_ID_H263,
|
.value = CODEC_ID_H263,
|
||||||
@ -671,7 +656,6 @@ AVInputFormat m4v_demuxer = {
|
|||||||
mpeg4video_probe, /** probing for mpeg4 data */
|
mpeg4video_probe, /** probing for mpeg4 data */
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "m4v", //FIXME remove after writing mpeg4_probe
|
.extensions = "m4v", //FIXME remove after writing mpeg4_probe
|
||||||
.value = CODEC_ID_MPEG4,
|
.value = CODEC_ID_MPEG4,
|
||||||
@ -699,7 +683,6 @@ AVInputFormat h264_demuxer = {
|
|||||||
NULL /*mpegvideo_probe*/,
|
NULL /*mpegvideo_probe*/,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "h26l,h264,264", //FIXME remove after writing mpeg4_probe
|
.extensions = "h26l,h264,264", //FIXME remove after writing mpeg4_probe
|
||||||
.value = CODEC_ID_H264,
|
.value = CODEC_ID_H264,
|
||||||
@ -727,7 +710,6 @@ AVInputFormat mpegvideo_demuxer = {
|
|||||||
mpegvideo_probe,
|
mpegvideo_probe,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.value = CODEC_ID_MPEG1VIDEO,
|
.value = CODEC_ID_MPEG1VIDEO,
|
||||||
};
|
};
|
||||||
@ -769,7 +751,6 @@ AVInputFormat mjpeg_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "mjpg,mjpeg",
|
.extensions = "mjpg,mjpeg",
|
||||||
.value = CODEC_ID_MJPEG,
|
.value = CODEC_ID_MJPEG,
|
||||||
@ -782,7 +763,6 @@ AVInputFormat ingenient_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
ingenient_read_packet,
|
ingenient_read_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "cgi", // FIXME
|
.extensions = "cgi", // FIXME
|
||||||
.value = CODEC_ID_MJPEG,
|
.value = CODEC_ID_MJPEG,
|
||||||
@ -810,7 +790,6 @@ AVInputFormat vc1_demuxer = {
|
|||||||
NULL /* vc1_probe */,
|
NULL /* vc1_probe */,
|
||||||
video_read_header,
|
video_read_header,
|
||||||
raw_read_partial_packet,
|
raw_read_partial_packet,
|
||||||
raw_read_close,
|
|
||||||
.extensions = "vc1",
|
.extensions = "vc1",
|
||||||
.value = CODEC_ID_VC1,
|
.value = CODEC_ID_VC1,
|
||||||
};
|
};
|
||||||
@ -825,7 +804,7 @@ AVInputFormat pcm_ ## name ## _demuxer = {\
|
|||||||
NULL,\
|
NULL,\
|
||||||
raw_read_header,\
|
raw_read_header,\
|
||||||
raw_read_packet,\
|
raw_read_packet,\
|
||||||
raw_read_close,\
|
NULL,\
|
||||||
pcm_read_seek,\
|
pcm_read_seek,\
|
||||||
.flags= AVFMT_GENERIC_INDEX,\
|
.flags= AVFMT_GENERIC_INDEX,\
|
||||||
.extensions = ext,\
|
.extensions = ext,\
|
||||||
@ -925,7 +904,6 @@ AVInputFormat rawvideo_demuxer = {
|
|||||||
NULL,
|
NULL,
|
||||||
raw_read_header,
|
raw_read_header,
|
||||||
rawvideo_read_packet,
|
rawvideo_read_packet,
|
||||||
raw_read_close,
|
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.extensions = "yuv,cif,qcif,rgb",
|
.extensions = "yuv,cif,qcif,rgb",
|
||||||
.value = CODEC_ID_RAWVIDEO,
|
.value = CODEC_ID_RAWVIDEO,
|
||||||
|
@ -140,11 +140,6 @@ static int sol_read_packet(AVFormatContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sol_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat sol_demuxer = {
|
AVInputFormat sol_demuxer = {
|
||||||
"sol",
|
"sol",
|
||||||
NULL_IF_CONFIG_SMALL("Sierra SOL format"),
|
NULL_IF_CONFIG_SMALL("Sierra SOL format"),
|
||||||
@ -152,6 +147,6 @@ AVInputFormat sol_demuxer = {
|
|||||||
sol_probe,
|
sol_probe,
|
||||||
sol_read_header,
|
sol_read_header,
|
||||||
sol_read_packet,
|
sol_read_packet,
|
||||||
sol_read_close,
|
NULL,
|
||||||
pcm_read_seek,
|
pcm_read_seek,
|
||||||
};
|
};
|
||||||
|
@ -87,10 +87,6 @@ next_chunk:
|
|||||||
return ret <= 0 ? AVERROR(EIO) : ret;
|
return ret <= 0 ? AVERROR(EIO) : ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int txd_read_close(AVFormatContext *s) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVInputFormat txd_demuxer =
|
AVInputFormat txd_demuxer =
|
||||||
{
|
{
|
||||||
"txd",
|
"txd",
|
||||||
@ -99,5 +95,4 @@ AVInputFormat txd_demuxer =
|
|||||||
txd_probe,
|
txd_probe,
|
||||||
txd_read_header,
|
txd_read_header,
|
||||||
txd_read_packet,
|
txd_read_packet,
|
||||||
txd_read_close,
|
|
||||||
};
|
};
|
||||||
|
@ -235,11 +235,6 @@ static int wav_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int wav_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int wav_read_seek(AVFormatContext *s,
|
static int wav_read_seek(AVFormatContext *s,
|
||||||
int stream_index, int64_t timestamp, int flags)
|
int stream_index, int64_t timestamp, int flags)
|
||||||
{
|
{
|
||||||
@ -267,7 +262,7 @@ AVInputFormat wav_demuxer = {
|
|||||||
wav_probe,
|
wav_probe,
|
||||||
wav_read_header,
|
wav_read_header,
|
||||||
wav_read_packet,
|
wav_read_packet,
|
||||||
wav_read_close,
|
NULL,
|
||||||
wav_read_seek,
|
wav_read_seek,
|
||||||
.flags= AVFMT_GENERIC_INDEX,
|
.flags= AVFMT_GENERIC_INDEX,
|
||||||
.codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
|
.codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
|
||||||
|
@ -196,14 +196,6 @@ static int wsaud_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int wsaud_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
// WsAudDemuxContext *wsaud = s->priv_data;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static int wsvqa_probe(AVProbeData *p)
|
static int wsvqa_probe(AVProbeData *p)
|
||||||
{
|
{
|
||||||
/* need 12 bytes to qualify */
|
/* need 12 bytes to qualify */
|
||||||
@ -378,13 +370,6 @@ static int wsvqa_read_packet(AVFormatContext *s,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int wsvqa_read_close(AVFormatContext *s)
|
|
||||||
{
|
|
||||||
// WsVqaDemuxContext *wsvqa = s->priv_data;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef CONFIG_WSAUD_DEMUXER
|
#ifdef CONFIG_WSAUD_DEMUXER
|
||||||
AVInputFormat wsaud_demuxer = {
|
AVInputFormat wsaud_demuxer = {
|
||||||
"wsaud",
|
"wsaud",
|
||||||
@ -393,7 +378,6 @@ AVInputFormat wsaud_demuxer = {
|
|||||||
wsaud_probe,
|
wsaud_probe,
|
||||||
wsaud_read_header,
|
wsaud_read_header,
|
||||||
wsaud_read_packet,
|
wsaud_read_packet,
|
||||||
wsaud_read_close,
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_WSVQA_DEMUXER
|
#ifdef CONFIG_WSVQA_DEMUXER
|
||||||
@ -404,6 +388,5 @@ AVInputFormat wsvqa_demuxer = {
|
|||||||
wsvqa_probe,
|
wsvqa_probe,
|
||||||
wsvqa_read_header,
|
wsvqa_read_header,
|
||||||
wsvqa_read_packet,
|
wsvqa_read_packet,
|
||||||
wsvqa_read_close,
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user