[FFmpeg-devel] [PATCH 03/11] avformat/rtpdec_rfc4175: remove the unused tag
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Nov 12 12:22:08 EET 2021
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavformat/rtpdec_rfc4175.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index f13736b..fe0754f 100644
--- a/libavformat/rtpdec_rfc4175.c
+++ b/libavformat/rtpdec_rfc4175.c
@@ -45,11 +45,9 @@ struct PayloadContext {
static int rfc4175_parse_format(AVStream *stream, PayloadContext *data)
{
enum AVPixelFormat pixfmt;
- int tag;
const AVPixFmtDescriptor *desc;
if (!strncmp(data->sampling, "YCbCr-4:2:2", 11)) {
- tag = MKTAG('U', 'Y', 'V', 'Y');
data->xinc = 2;
if (data->depth == 8) {
@@ -69,7 +67,6 @@ static int rfc4175_parse_format(AVStream *stream, PayloadContext *data)
desc = av_pix_fmt_desc_get(pixfmt);
stream->codecpar->format = pixfmt;
- stream->codecpar->codec_tag = tag;
stream->codecpar->bits_per_coded_sample = av_get_bits_per_pixel(desc);
data->frame_size = data->width * data->height * data->pgroup / data->xinc;
--
1.8.3.1
More information about the ffmpeg-devel
mailing list