OSDN Git Service

hevc: improve a comment
authorAnton Khirnov <anton@khirnov.net>
Thu, 9 Jul 2015 16:36:16 +0000 (18:36 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Jul 2015 16:15:40 +0000 (18:15 +0200)
That loop does the actual full decoding, so 'parse' can be misleading.

libavcodec/hevc.c

index c9d4344..4025f46 100644 (file)
@@ -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) {