]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpdec_h263.c
Use correct length modifier for size comparison in printf expression, fixes:
[ffmpeg] / libavformat / rtpdec_h263.c
index 3d5925e9a4696b5baee397e53e1fa67ecf60c9c4..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;