tired
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2003 01:33:39 +0000 (01:33 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 27 Apr 2003 01:33:39 +0000 (01:33 +0000)
Originally committed as revision 1825 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263dec.c
libavcodec/h264.c

index cc3bff1..4f42489 100644 (file)
@@ -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;
 }
 
 /**
index 4e1375d..5acce0d 100644 (file)
@@ -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){