]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ncdec.c
http: use av_strlcpy instead of strcpy() without size checks
[ffmpeg] / libavformat / ncdec.c
index 0bdd6157c34d32a484460aa67fef7e68d9d2be8e..40d8dac3a7796f46e14c3282226318e707243c53 100644 (file)
@@ -52,7 +52,7 @@ static int nc_read_header(AVFormatContext *s)
         return AVERROR(ENOMEM);
 
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    st->codec->codec_id   = CODEC_ID_MPEG4;
+    st->codec->codec_id   = AV_CODEC_ID_MPEG4;
     st->need_parsing      = AVSTREAM_PARSE_FULL;
 
     avpriv_set_pts_info(st, 64, 1, 100);