From 067ff8b1eeaeecc0f7e479448aba154a599a41dc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 27 Apr 2003 01:33:39 +0000 Subject: [PATCH] tired Originally committed as revision 1825 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h263dec.c | 2 +- libavcodec/h264.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index cc3bff1375..4f42489ccc 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -338,7 +338,7 @@ static int mpeg4_find_frame_end(MpegEncContext *s, uint8_t *buf, int buf_size){ } pc->frame_start_found= vop_found; pc->state= state; - return -1; + return END_NOT_FOUND; } /** diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 4e1375dcc2..5acce0d833 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3943,7 +3943,7 @@ static int find_frame_end(MpegEncContext *s, uint8_t *buf, int buf_size){ } pc->state= state; - return -1; + return END_NOT_FOUND; } static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){