Changeset 49925980ceee6653721a048b823a7b331a3c6522
- Timestamp:
- 29/03/04 23:26:54
(5 years ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1080595614 +0000
- git-parent:
[a4923d5d7294f45979a3b6a6bfadf56abdd0e634]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1080595614 +0000
- Message:
- ogg: cast of lvalue ... gibalou could you test this patch ?
(I have changed a ((uint8_t *)op.bytes) -= 4; and I'm not sure what it
was meant to do as op.bytes is a "long")
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r085985d |
r4992598 |
|
| 316 | 316 | msg_Dbg( p_mux, "adding input" ); |
|---|
| 317 | 317 | |
|---|
| 318 | | p_input->p_sys = (void *)p_stream = malloc( sizeof( ogg_stream_t ) ); |
|---|
| | 318 | p_input->p_sys = p_stream = malloc( sizeof( ogg_stream_t ) ); |
|---|
| 319 | 319 | |
|---|
| 320 | 320 | p_stream->i_cat = p_input->p_fmt->i_cat; |
|---|
| … | … | |
| 722 | 722 | { |
|---|
| 723 | 723 | /* Skip the flac stream marker */ |
|---|
| 724 | | ((uint8_t *)op.bytes) -= 4; |
|---|
| 725 | | ((uint8_t *)op.packet) += 4; |
|---|
| | 724 | op.bytes -= 4; |
|---|
| | 725 | op.packet+= 4; |
|---|
| 726 | 726 | } |
|---|
| 727 | 727 | op.b_o_s = 0; |
|---|