Mercurial > libavcodec.hg
comparison mpeg12.c @ 4931:0d1cc37d9430 libavcodec
make some parser parameters const to avoid casting const to non-const
author | aurel |
---|---|
date | Mon, 07 May 2007 00:47:03 +0000 |
parents | 13ef168891b0 |
children | 3fa689636240 |
comparison
equal
deleted
inserted
replaced
4930:655d25351bfc | 4931:0d1cc37d9430 |
---|---|
3094 } | 3094 } |
3095 | 3095 |
3096 if(s2->flags&CODEC_FLAG_TRUNCATED){ | 3096 if(s2->flags&CODEC_FLAG_TRUNCATED){ |
3097 int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size); | 3097 int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size); |
3098 | 3098 |
3099 if( ff_combine_frame(&s2->parse_context, next, &buf, &buf_size) < 0 ) | 3099 if( ff_combine_frame(&s2->parse_context, next, (const uint8_t **)&buf, &buf_size) < 0 ) |
3100 return buf_size; | 3100 return buf_size; |
3101 } | 3101 } |
3102 | 3102 |
3103 buf_ptr = buf; | 3103 buf_ptr = buf; |
3104 buf_end = buf + buf_size; | 3104 buf_end = buf + buf_size; |