diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-15 17:31:34 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-15 17:31:34 +0000 |
commit | a242ac3620e8610d7efa3852018c79c09546bec4 (patch) | |
tree | 1c2294ed0b86405faaff18bb926228a31fb7904e /libavfilter/defaults.c | |
parent | 6baf4afa9969eea23cd4ec9b0cec3b7aed1f49af (diff) | |
download | ffmpeg-a242ac3620e8610d7efa3852018c79c09546bec4.tar.gz |
Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
More consistent with the rest of FFmpeg and sounds more natural to
English speaking people.
Originally committed as revision 26374 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r-- | libavfilter/defaults.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c index aa3739cca6..c541bb1687 100644 --- a/libavfilter/defaults.c +++ b/libavfilter/defaults.c @@ -88,7 +88,7 @@ AVFilterBufferRef *avfilter_default_get_audio_buffer(AVFilterLink *link, int per chans_nb = av_get_channel_layout_nb_channels(channel_layout); per_channel_size = size/chans_nb; - ref->audio->samples_nb = per_channel_size/sample_size; + ref->audio->nb_samples = per_channel_size/sample_size; /* Set the number of bytes to traverse to reach next sample of a particular channel: * For planar, this is simply the sample size. |