diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-06-23 12:38:29 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2017-08-04 20:18:34 +0300 |
commit | 333a44b8bb0f9ba8befff76e49423e741c576468 (patch) | |
tree | 1afb148de3fb1a6d9e527ee7caeff58e8e355dcd | |
parent | 3b65ffc96c86328c4ffd17062dbc1d4936b11113 (diff) |
matroskadec_haali: fix a few variable name collisions
-rw-r--r-- | libavformat/matroskadec_haali.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/matroskadec_haali.c b/libavformat/matroskadec_haali.c index ee5c65efbc..377d402003 100644 --- a/libavformat/matroskadec_haali.c +++ b/libavformat/matroskadec_haali.c @@ -1165,7 +1165,7 @@ static int mkv_read_header(AVFormatContext *s) codec_id = st->codecpar->codec_id; } else if (!strcmp(info->CodecID, "A_QUICKTIME") && (info->CodecPrivateSize >= 32) && (info->CodecPrivate != NULL)) { uint16_t sample_size; - int ret = get_qt_codec(info, &fourcc, &codec_id); + ret = get_qt_codec(info, &fourcc, &codec_id); if (ret < 0) return ret; sample_size = AV_RB16((uint8_t *)info->CodecPrivate + 26); @@ -1183,7 +1183,7 @@ static int mkv_read_header(AVFormatContext *s) sample_size == 8) codec_id = AV_CODEC_ID_PCM_S8; } else if (!strcmp(info->CodecID, "V_QUICKTIME") && (info->CodecPrivateSize >= 21) && (info->CodecPrivate != NULL)) { - int ret = get_qt_codec(info, &fourcc, &codec_id); + ret = get_qt_codec(info, &fourcc, &codec_id); if (ret < 0) return ret; if (codec_id == AV_CODEC_ID_NONE && AV_RL32((uint8_t *)info->CodecPrivate+4) == AV_RL32("SMI ")) { @@ -1270,7 +1270,7 @@ static int mkv_read_header(AVFormatContext *s) // add stream level stereo3d side data if it is a supported format if (info->AV.Video.StereoMode < MATROSKA_VIDEO_STEREOMODE_TYPE_NB && info->AV.Video.StereoMode != 10 && info->AV.Video.StereoMode != 12) { - int ret = ff_mkv_stereo3d_conv(st, info->AV.Video.StereoMode); + ret = ff_mkv_stereo3d_conv(st, info->AV.Video.StereoMode); if (ret < 0) return ret; } @@ -1671,7 +1671,7 @@ again: av_buffer_unref(&pkt->buf); av_packet_from_data(pkt, dvbdata, dvbsize); } else if (!strcmp(track->info->CodecID, "V_PRORES")) { - int size = pkt->size + 8; + size = pkt->size + 8; uint8_t *buf = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); AV_WB32(buf, pkt->size); AV_WB32(buf + 4, MKBETAG('i', 'c', 'p', 'f')); |