aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-07-02 19:42:45 +0800
committerLimin Wang <lance.lmwang@gmail.com>2021-10-11 23:27:21 +0800
commit5724e8a664aa0653b0b691dbd24c47e55f60c62f (patch)
tree80cc0c826e6f9887dab937afa5c8279fbe6f95c4
parentf7823c9a3a2e51c94b166d5701f65642d5531889 (diff)
downloadffmpeg-5724e8a664aa0653b0b691dbd24c47e55f60c62f.tar.gz
avformat/rtpdec_rfc4175: Remove redundant initialization
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r--libavformat/rtpdec_rfc4175.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index e1e1452fef..97939b0fae 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)) {