]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/zmbv.c
nvenc: Generate AUD NAL units for better compatiblity
[ffmpeg] / libavcodec / zmbv.c
index f49cbdb014f72c438260069a8a851a9e80afe6f8..f945aea034dadc71f4c55046fce1ea6a72785c8b 100644 (file)
@@ -498,7 +498,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
         return AVERROR_INVALIDDATA;
     }
 
-    if (c->comp == 0) { //Uncompressed data
+    if (c->comp == 0) { // uncompressed data
         if (c->decomp_size < len) {
             av_log(avctx, AV_LOG_ERROR, "Buffer too small\n");
             return AVERROR_INVALIDDATA;
@@ -662,5 +662,5 @@ AVCodec ff_zmbv_decoder = {
     .init           = decode_init,
     .close          = decode_end,
     .decode         = decode_frame,
-    .capabilities   = CODEC_CAP_DR1,
+    .capabilities   = AV_CODEC_CAP_DR1,
 };