Mercurial > libavcodec.hg
comparison utils.c @ 7631:b5b4bf0944b8 libavcodec
Provide a simpler way for the user to reorder her timestamps.
| author | michael |
|---|---|
| date | Wed, 20 Aug 2008 23:11:26 +0000 |
| parents | ff395fe35161 |
| children | b1cacb2f48a0 |
comparison
equal
deleted
inserted
replaced
| 7630:d6390123201d | 7631:b5b4bf0944b8 |
|---|---|
| 282 pic->base[i]= buf->base[i]; | 282 pic->base[i]= buf->base[i]; |
| 283 pic->data[i]= buf->data[i]; | 283 pic->data[i]= buf->data[i]; |
| 284 pic->linesize[i]= buf->linesize[i]; | 284 pic->linesize[i]= buf->linesize[i]; |
| 285 } | 285 } |
| 286 s->internal_buffer_count++; | 286 s->internal_buffer_count++; |
| 287 | |
| 288 pic->reordered_opaque= s->reordered_opaque; | |
| 287 | 289 |
| 288 if(s->debug&FF_DEBUG_BUFFERS) | 290 if(s->debug&FF_DEBUG_BUFFERS) |
| 289 av_log(s, AV_LOG_DEBUG, "default_get_buffer called on pic %p, %d buffers used\n", pic, s->internal_buffer_count); | 291 av_log(s, AV_LOG_DEBUG, "default_get_buffer called on pic %p, %d buffers used\n", pic, s->internal_buffer_count); |
| 290 | 292 |
| 291 return 0; | 293 return 0; |
