Revision 322af4be libavformat/sierravmd.c

View differences:

libavformat/sierravmd.c
186 186
            case 1: /* Audio Chunk */
187 187
                /* first audio chunk contains several audio buffers */
188 188
                if(current_audio_pts){
189
                vmd->frame_table[total_frames].frame_offset = current_offset;
190
                vmd->frame_table[total_frames].stream_index = vmd->audio_stream_index;
191
                vmd->frame_table[total_frames].frame_size = size;
192
                memcpy(vmd->frame_table[total_frames].frame_record, chunk, BYTES_PER_FRAME_RECORD);
193
                vmd->frame_table[total_frames].pts = current_audio_pts;
194
                total_frames++;
195
                current_audio_pts += pts_inc;
189
                    vmd->frame_table[total_frames].frame_offset = current_offset;
190
                    vmd->frame_table[total_frames].stream_index = vmd->audio_stream_index;
191
                    vmd->frame_table[total_frames].frame_size = size;
192
                    memcpy(vmd->frame_table[total_frames].frame_record, chunk, BYTES_PER_FRAME_RECORD);
193
                    vmd->frame_table[total_frames].pts = current_audio_pts;
194
                    total_frames++;
195
                    current_audio_pts += pts_inc;
196 196
                }else{
197 197
                    uint32_t flags;
198 198
                    int k;

Also available in: Unified diff