From: Limin Wang <lance.lmw...@gmail.com>

Signed-off-by: Limin Wang <lance.lmw...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to