summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-07-09 18:36:16 +0200
committerAnton Khirnov <anton@khirnov.net>2015-07-12 18:15:40 +0200
commit7f78155dc6b65be55efb5309b6dd2bb33925a8c4 (patch)
tree72ff500a52c9d6e423865af3d3fcd2f0f134d454 /libavcodec/hevc.c
parentd82e1adc2019135a2fc45372e0ed0b5ef107cdd0 (diff)
hevc: improve a comment
That loop does the actual full decoding, so 'parse' can be misleading.
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index c9d43448e3..4025f461e2 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -2633,7 +2633,7 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length)
s->eos = 1;
}
- /* parse the NAL units */
+ /* decode the NAL units */
for (i = 0; i < s->pkt.nb_nals; i++) {
ret = decode_nal_unit(s, &s->pkt.nals[i]);
if (ret < 0) {