]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libtheoraenc.c
Reindent
[ffmpeg] / libavcodec / libtheoraenc.c
index 6a9dee167feee069eed0d42ba90e3ead546f7602..ac015ff20000fa5b91164b23c7808bf98296e42c 100644 (file)
@@ -336,7 +336,8 @@ static int encode_frame(AVCodecContext* avc_context, uint8_t *outbuf,
     }
     memcpy(outbuf, o_packet.packet, o_packet.bytes);
 
-    // HACK: does not take codec delay into account (neither does the decoder though)
+    // HACK: assumes no encoder delay, this is true until libtheora becomes
+    // multithreaded (which will be disabled unless explictly requested)
     avc_context->coded_frame->pts = frame->pts;
     avc_context->coded_frame->key_frame = !(o_packet.granulepos & h->keyframe_mask);