Browse Source

avf: move riff tags accessors where they belong

tags/n2.0
Luca Barbato 12 years ago
parent
commit
508998f7d5
2 changed files with 10 additions and 9 deletions
  1. +10
    -0
      libavformat/riff.c
  2. +0
    -9
      libavformat/utils.c

+ 10
- 0
libavformat/riff.c View File

@@ -411,6 +411,16 @@ enum AVCodecID ff_codec_guid_get_id(const AVCodecGuid *guids, ff_asf_guid guid)
return AV_CODEC_ID_NONE;
}

const struct AVCodecTag *avformat_get_riff_video_tags(void)
{
return ff_codec_bmp_tags;
}

const struct AVCodecTag *avformat_get_riff_audio_tags(void)
{
return ff_codec_wav_tags;
}

#if CONFIG_MUXERS
int64_t ff_start_tag(AVIOContext *pb, const char *tag)
{


+ 0
- 9
libavformat/utils.c View File

@@ -3398,12 +3398,3 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels,
}
return 0;
}

const struct AVCodecTag *avformat_get_riff_video_tags(void)
{
return ff_codec_bmp_tags;
}
const struct AVCodecTag *avformat_get_riff_audio_tags(void)
{
return ff_codec_wav_tags;
}

Loading…
Cancel
Save