]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wnv1.c
Do not return -1 from void functions.
[ffmpeg] / libavcodec / wnv1.c
index 46b31a5c5f1d3f5e489ab8ec374398b6e5e8d1fb..d4b01ac573d3a5b4db5ba7e8a0b54b89fc4dbb23 100644 (file)
@@ -17,7 +17,6 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
  */
 
 /**
@@ -26,7 +25,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "bitstream.h"
 
 
@@ -118,7 +116,7 @@ static int decode_frame(AVCodecContext *avctx,
     return buf_size;
 }
 
-static int decode_init(AVCodecContext *avctx){
+static av_cold int decode_init(AVCodecContext *avctx){
     WNV1Context * const l = avctx->priv_data;
 
     l->avctx = avctx;
@@ -143,4 +141,5 @@ AVCodec wnv1_decoder = {
     NULL,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name = "Winnov WNV1",
 };