aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-04-27 01:33:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-04-27 01:33:39 +0000
commit067ff8b1eeaeecc0f7e479448aba154a599a41dc (patch)
treea50224ce4dbcb43f0bb3c28b6aba1ea1a8b8d8e5
parentbb463d81020a2f3c5cf3403e18f980171773f48a (diff)
downloadffmpeg-067ff8b1eeaeecc0f7e479448aba154a599a41dc.tar.gz
tired
Originally committed as revision 1825 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h263dec.c2
-rw-r--r--libavcodec/h264.c2
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){