Changeset 2bf327dfbfaea5fd719be71899bafc3c32b3bb45
- Timestamp:
- 01/11/08 18:48:58
(8 months ago)
- Author:
- Ilkka Ollakka <ileoo@videolan.org>
- git-committer:
- Ilkka Ollakka <ileoo@videolan.org> 1200073738 +0000
- git-parent:
[0669b648a7db1286edef12d16793bea74c5b3aad]
- git-author:
- Ilkka Ollakka <ileoo@videolan.org> 1200073738 +0000
- Message:
fix previous commit
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0669b64 |
r2bf327d |
|
| 92 | 92 | vlc_bool_t b_sps; |
|---|
| 93 | 93 | vlc_bool_t b_pps; |
|---|
| | 94 | vlc_bool_t b_header; |
|---|
| 94 | 95 | |
|---|
| 95 | 96 | /* avcC data */ |
|---|
| … | … | |
| 185 | 186 | p_sys->p_sps = 0; |
|---|
| 186 | 187 | p_sys->p_pps = 0; |
|---|
| | 188 | p_sys->b_header= VLC_FALSE; |
|---|
| 187 | 189 | |
|---|
| 188 | 190 | p_sys->slice.i_nal_type = -1; |
|---|
| … | … | |
| 250 | 252 | memcpy( (uint8_t*)p_dec->fmt_out.p_extra, p_sys->p_sps->p_buffer, p_sys->p_sps->i_buffer); |
|---|
| 251 | 253 | memcpy( (uint8_t*)p_dec->fmt_out.p_extra+p_sys->p_sps->i_buffer, p_sys->p_pps->p_buffer, p_sys->p_pps->i_buffer); |
|---|
| | 254 | p_sys->b_header = VLC_TRUE; |
|---|
| 252 | 255 | |
|---|
| 253 | 256 | /* Set callback */ |
|---|
| … | … | |
| 544 | 547 | block_ChainAppend( &p_sps, p_pps ); \ |
|---|
| 545 | 548 | block_ChainAppend( &p_sps, p_sys->p_frame ); \ |
|---|
| | 549 | p_sys->b_header = VLC_TRUE; \ |
|---|
| 546 | 550 | p_pic = block_ChainGather( p_sps ); \ |
|---|
| 547 | 551 | } else { \ |
|---|