diff mbox series

[FFmpeg-devel,3/8] avformat/rtpdec_rfc4175: Remove redundant initialization

Message ID 1633515251-5156-3-git-send-email-lance.lmwang@gmail.com
State Accepted
Commit 5724e8a664aa0653b0b691dbd24c47e55f60c62f
Headers show
Series [FFmpeg-devel,1/8] avcodec/bitpacked: check av_buffer_ref result
Related show

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Limin Wang Oct. 6, 2021, 10:14 a.m. UTC
From: Limin Wang <lance.lmwang@gmail.com>

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
---
 libavformat/rtpdec_rfc4175.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index e1e1452..97939b0 100644
--- a/libavformat/rtpdec_rfc4175.c
+++ b/libavformat/rtpdec_rfc4175.c
@@ -42,8 +42,8 @@  struct PayloadContext {
 
 static int rfc4175_parse_format(AVStream *stream, PayloadContext *data)
 {
-    enum AVPixelFormat pixfmt = AV_PIX_FMT_NONE;
-    int tag = 0;
+    enum AVPixelFormat pixfmt;
+    int tag;
     const AVPixFmtDescriptor *desc;
 
     if (!strncmp(data->sampling, "YCbCr-4:2:2", 11)) {