]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_h263.c
Merge remote branch 'qatar/master'
[ffmpeg] / libavformat / rtpdec_h263.c
index 3d5925e9a4696b5baee397e53e1fa67ecf60c9c4..ea42fff3205b7287baf713bd578a17981bd503ea 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include "avformat.h"
-#include "rtpdec_h263.h"
+#include "rtpdec_formats.h"
 #include "libavutil/intreadwrite.h"
 
 static int h263_handle_packet(AVFormatContext *ctx,
@@ -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;