]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libtheoraenc.c
AAC packetiser cleanup: remove check for a condition that cannot happen
[ffmpeg] / libavcodec / libtheoraenc.c
index abfa462c963c8cff57ef25ae6503bbacd9a64bd7..dbc98e3b5e0922326d0c2b19062ebfeea8a32da2 100644 (file)
@@ -19,7 +19,7 @@
  */
 
 /*!
- * \file theoraenc.c
+ * \file libtheoraenc.c
  * \brief Theora encoder using libtheora.
  * \author Paul Richards <paul.richards@gmail.com>
  *
@@ -77,7 +77,7 @@ static int concatenate_packet(unsigned int* offset, AVCodecContext* avc_context,
     return 0;
 }
 
-static int encode_init(AVCodecContext* avc_context)
+static av_cold int encode_init(AVCodecContext* avc_context)
 {
     theora_info t_info;
     theora_comment t_comment;
@@ -240,7 +240,7 @@ static int encode_frame(
     return o_packet.bytes;
 }
 
-static int encode_close(AVCodecContext* avc_context)
+static av_cold int encode_close(AVCodecContext* avc_context)
 {
     ogg_packet o_packet;
     TheoraContext *h = avc_context->priv_data;