png: Minor whitespace change and added missing comment
authorDonny Yang <work@kota.moe>
Sat, 28 Mar 2015 15:14:22 +0000 (15:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Mar 2015 16:16:55 +0000 (17:16 +0100)
Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pngenc.c

index 0231bf7..d6233d0 100644 (file)
@@ -399,9 +399,9 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     s->buf[10] = 0; /* compression type */
     s->buf[11] = 0; /* filter type */
     s->buf[12] = is_progressive; /* interlace type */
-
     png_write_chunk(&s->bytestream, MKTAG('I', 'H', 'D', 'R'), s->buf, 13);
 
+    /* write physical information */
     if (s->dpm) {
       AV_WB32(s->buf, s->dpm);
       AV_WB32(s->buf + 4, s->dpm);