[FFmpeg-cvslog] avcodec/pcm-dvdenc: Remove empty function

Andreas Rheinhardt git at videolan.org
Thu Sep 17 01:10:23 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Sat Sep 12 23:48:32 2020 +0200| [4db4e69512a933f38d99b10df58431b9fed3e584] | committer: Andreas Rheinhardt

avcodec/pcm-dvdenc: Remove empty function

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4db4e69512a933f38d99b10df58431b9fed3e584
---

 libavcodec/pcm-dvdenc.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libavcodec/pcm-dvdenc.c b/libavcodec/pcm-dvdenc.c
index d26eaf071c..63f6e5d81b 100644
--- a/libavcodec/pcm-dvdenc.c
+++ b/libavcodec/pcm-dvdenc.c
@@ -170,11 +170,6 @@ static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
     return 0;
 }
 
-static av_cold int pcm_dvd_encode_close(AVCodecContext *avctx)
-{
-    return 0;
-}
-
 AVCodec ff_pcm_dvd_encoder = {
     .name           = "pcm_dvd",
     .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,
     .priv_data_size = sizeof(PCMDVDContext),
     .init           = pcm_dvd_encode_init,
-    .close          = pcm_dvd_encode_close,
     .encode2        = pcm_dvd_encode_frame,
     .capabilities   = AV_CODEC_CAP_SMALL_LAST_FRAME,
     .supported_samplerates = (const int[]) { 48000, 96000, 0},



More information about the ffmpeg-cvslog mailing list