]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_h263.c
Rename av_tempfile() to ff_tempfile()
[ffmpeg] / libavformat / rtpdec_h263.c
index 7d498f3af0a5f07c4b50c1f9c5bc006d33f43bcc..19de6eca266573c225ce128568d36e652cc397fd 100644 (file)
@@ -78,7 +78,7 @@ static int h263_handle_packet(AVFormatContext *ctx,
 
     if (av_new_packet(pkt, len + startcode)) {
         av_log(ctx, AV_LOG_ERROR, "Out of memory\n");
-        return AVERROR_NOMEM;
+        return AVERROR(ENOMEM);
     }
     pkt->stream_index = st->index;
     ptr = pkt->data;
@@ -94,14 +94,14 @@ static int h263_handle_packet(AVFormatContext *ctx,
 
 RTPDynamicProtocolHandler ff_h263_1998_dynamic_handler = {
     .enc_name         = "H263-1998",
-    .codec_type       = CODEC_TYPE_VIDEO,
+    .codec_type       = AVMEDIA_TYPE_VIDEO,
     .codec_id         = CODEC_ID_H263,
     .parse_packet     = h263_handle_packet,
 };
 
 RTPDynamicProtocolHandler ff_h263_2000_dynamic_handler = {
     .enc_name         = "H263-2000",
-    .codec_type       = CODEC_TYPE_VIDEO,
+    .codec_type       = AVMEDIA_TYPE_VIDEO,
     .codec_id         = CODEC_ID_H263,
     .parse_packet     = h263_handle_packet,
 };