summaryrefslogtreecommitdiff
path: root/libavcodec/audio_frame_queue.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-01-03 00:15:16 +0100
committerClément Bœsch <ubitux@gmail.com>2013-01-03 00:21:47 +0100
commit491ca0e89ff9d3807f7514408ef912a608962163 (patch)
tree7c7b5fc264f83c7b1076c641d436a565c4f33c86 /libavcodec/audio_frame_queue.c
parent43adc62e7022f912d48e08f8b94692f71d30826e (diff)
downloadffmpeg-491ca0e89ff9d3807f7514408ef912a608962163.tar.gz
Replace references to "que" with the appropriate word.
"que" sounds like a slang word to me. This commit renames a few variables, fix the comments and the logging messages (sometimes along with small other typo fixes).
Diffstat (limited to 'libavcodec/audio_frame_queue.c')
-rw-r--r--libavcodec/audio_frame_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/audio_frame_queue.c b/libavcodec/audio_frame_queue.c
index 7db0091c0c..e21629695c 100644
--- a/libavcodec/audio_frame_queue.c
+++ b/libavcodec/audio_frame_queue.c
@@ -35,7 +35,7 @@ void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)
void ff_af_queue_close(AudioFrameQueue *afq)
{
if(afq->frame_count)
- av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in que on closing\n", afq->frame_count);
+ av_log(afq->avctx, AV_LOG_WARNING, "%d frames left in the queue on closing\n", afq->frame_count);
av_freep(&afq->frames);
memset(afq, 0, sizeof(*afq));
}
@@ -83,7 +83,7 @@ void ff_af_queue_remove(AudioFrameQueue *afq, int nb_samples, int64_t *pts,
out_pts = afq->frames->pts;
}
if(!afq->frame_count)
- av_log(afq->avctx, AV_LOG_WARNING, "Trying to remove %d samples, but que empty\n", nb_samples);
+ av_log(afq->avctx, AV_LOG_WARNING, "Trying to remove %d samples, but the queue is empty\n", nb_samples);
if (pts)
*pts = ff_samples_to_time_base(afq->avctx, out_pts);
@@ -105,7 +105,7 @@ void ff_af_queue_remove(AudioFrameQueue *afq, int nb_samples, int64_t *pts,
av_assert0(afq->remaining_samples == afq->remaining_delay);
if(afq->frames && afq->frames[0].pts != AV_NOPTS_VALUE)
afq->frames[0].pts += nb_samples;
- av_log(afq->avctx, AV_LOG_DEBUG, "Trying to remove %d more samples than are in the que\n", nb_samples);
+ av_log(afq->avctx, AV_LOG_DEBUG, "Trying to remove %d more samples than there are in the queue\n", nb_samples);
}
if (duration)
*duration = ff_samples_to_time_base(afq->avctx, removed_samples);