Mercurial > libavcodec.hg
comparison mpegvideo_parser.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 |
comparison
equal
deleted
inserted
replaced
4915:c22e10113015 | 4916:13ef168891b0 |
---|---|
136 int next; | 136 int next; |
137 | 137 |
138 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ | 138 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ |
139 next= buf_size; | 139 next= buf_size; |
140 }else{ | 140 }else{ |
141 next= mpeg1_find_frame_end(pc, buf, buf_size); | 141 next= ff_mpeg1_find_frame_end(pc, buf, buf_size); |
142 | 142 |
143 if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { | 143 if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { |
144 *poutbuf = NULL; | 144 *poutbuf = NULL; |
145 *poutbuf_size = 0; | 145 *poutbuf_size = 0; |
146 return buf_size; | 146 return buf_size; |