diff mbox series

[FFmpeg-devel,1/3] avcodec/pcm-dvdenc: Remove unused extra_sample(s|_count)

Message ID DB6PR0101MB2214264F6F1D37DE1EB4D3C78F849@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit 7259eef711a52cfa0face2a7d637f4e3f1c6aa43
Headers show
Series [FFmpeg-devel,1/3] avcodec/pcm-dvdenc: Remove unused extra_sample(s|_count) | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt July 10, 2022, 1:38 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/pcm-dvdenc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Paul B Mahol July 10, 2022, 2:50 p.m. UTC | #1
LGTM to whole set.
diff mbox series

Patch

diff --git a/libavcodec/pcm-dvdenc.c b/libavcodec/pcm-dvdenc.c
index 6bab1e0aaa..c7f1d46ba3 100644
--- a/libavcodec/pcm-dvdenc.c
+++ b/libavcodec/pcm-dvdenc.c
@@ -31,8 +31,6 @@  typedef struct PCMDVDContext {
     int block_size;          // Size of a block of samples in bytes
     int samples_per_block;   // Number of samples per channel per block
     int groups_per_block;    // Number of 20/24-bit sample groups per block
-    uint8_t *extra_samples;  // Pointer to leftover samples from a frame
-    int extra_sample_count;  // Number of leftover samples in the buffer
 } PCMDVDContext;
 
 static av_cold int pcm_dvd_encode_init(AVCodecContext *avctx)