diff mpeg12.c @ 4916:13ef168891b0 libavcodec

add a ff_ prefix to the now exported mpeg1_find_frame_end() function
author aurel
date Sat, 05 May 2007 18:25:02 +0000
parents c22e10113015
children 0d1cc37d9430
line wrap: on
line diff
--- a/mpeg12.c	Sat May 05 18:18:51 2007 +0000
+++ b/mpeg12.c	Sat May 05 18:25:02 2007 +0000
@@ -3032,7 +3032,7 @@
  * finds the end of the current frame in the bitstream.
  * @return the position of the first byte of the next frame, or -1
  */
-int mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
+int ff_mpeg1_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size)
 {
     int i;
     uint32_t state= pc->state;
@@ -3094,7 +3094,7 @@
     }
 
     if(s2->flags&CODEC_FLAG_TRUNCATED){
-        int next= mpeg1_find_frame_end(&s2->parse_context, buf, buf_size);
+        int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size);
 
         if( ff_combine_frame(&s2->parse_context, next, &buf, &buf_size) < 0 )
             return buf_size;