@@ -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;