[FFmpeg-cvslog] avformat/rtpdec_rfc4175: Remove redundant initialization
Limin Wang
git at videolan.org
Mon Oct 11 19:20:46 EEST 2021
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Jul 2 19:42:45 2021 +0800| [5724e8a664aa0653b0b691dbd24c47e55f60c62f] | committer: Limin Wang
avformat/rtpdec_rfc4175: Remove redundant initialization
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5724e8a664aa0653b0b691dbd24c47e55f60c62f
---
libavformat/rtpdec_rfc4175.c | 4 ++--
1 file 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)) {
More information about the ffmpeg-cvslog
mailing list