mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/pcm-dvdenc: Remove empty function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
7a84ee84ec
commit
4db4e69512
@ -170,11 +170,6 @@ static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static av_cold int pcm_dvd_encode_close(AVCodecContext *avctx)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
AVCodec ff_pcm_dvd_encoder = {
|
AVCodec ff_pcm_dvd_encoder = {
|
||||||
.name = "pcm_dvd",
|
.name = "pcm_dvd",
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD media"),
|
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for DVD media"),
|
||||||
@ -182,7 +177,6 @@ AVCodec ff_pcm_dvd_encoder = {
|
|||||||
.id = AV_CODEC_ID_PCM_DVD,
|
.id = AV_CODEC_ID_PCM_DVD,
|
||||||
.priv_data_size = sizeof(PCMDVDContext),
|
.priv_data_size = sizeof(PCMDVDContext),
|
||||||
.init = pcm_dvd_encode_init,
|
.init = pcm_dvd_encode_init,
|
||||||
.close = pcm_dvd_encode_close,
|
|
||||||
.encode2 = pcm_dvd_encode_frame,
|
.encode2 = pcm_dvd_encode_frame,
|
||||||
.capabilities = AV_CODEC_CAP_SMALL_LAST_FRAME,
|
.capabilities = AV_CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
.supported_samplerates = (const int[]) { 48000, 96000, 0},
|
.supported_samplerates = (const int[]) { 48000, 96000, 0},
|
||||||
|
Loading…
Reference in New Issue
Block a user