[FFmpeg-cvslog] hevc: improve a comment
Anton Khirnov
git at videolan.org
Sun Jul 12 23:52:29 CEST 2015
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jul 9 18:36:16 2015 +0200| [7f78155dc6b65be55efb5309b6dd2bb33925a8c4] | committer: Anton Khirnov
hevc: improve a comment
That loop does the actual full decoding, so 'parse' can be misleading.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f78155dc6b65be55efb5309b6dd2bb33925a8c4
---
libavcodec/hevc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index c9d4344..4025f46 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) {
More information about the ffmpeg-cvslog
mailing list