~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-security

« back to all changes in this revision

Viewing changes to libavcodec/audioconvert.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    for (i=0; channel_layout_map[i].name; i++)
129
129
        if (nb_channels    == channel_layout_map[i].nb_channels &&
130
130
            channel_layout == channel_layout_map[i].layout) {
131
 
            snprintf(buf, buf_size, channel_layout_map[i].name);
 
131
            av_strlcpy(buf, channel_layout_map[i].name, buf_size);
132
132
            return;
133
133
        }
134
134