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 cc3bff137508e7e80c1c2eecedd809338bdc2695..4f42489ccc66656adcb9c3c99fbc09d8ecb6e970 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 4e1375dcc26cc5b649bca2bf3608cf873f4b19af..5acce0d83374e678df7fae3fcce13bfedc631bab 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){