Revision 7d2b199b

View differences:

libavformat/sierravmd.c
193 193
            case 1: /* Audio Chunk */
194 194
                if (!st) break;
195 195
                /* first audio chunk contains several audio buffers */
196
                    vmd->frame_table[total_frames].frame_offset = current_offset;
197
                    vmd->frame_table[total_frames].stream_index = vmd->audio_stream_index;
198
                    vmd->frame_table[total_frames].frame_size = size;
199
                    memcpy(vmd->frame_table[total_frames].frame_record, chunk, BYTES_PER_FRAME_RECORD);
200
                    vmd->frame_table[total_frames].pts = current_audio_pts;
201
                    total_frames++;
202
                    current_audio_pts += pts_inc;
196
                vmd->frame_table[total_frames].frame_offset = current_offset;
197
                vmd->frame_table[total_frames].stream_index = vmd->audio_stream_index;
198
                vmd->frame_table[total_frames].frame_size = size;
199
                memcpy(vmd->frame_table[total_frames].frame_record, chunk, BYTES_PER_FRAME_RECORD);
200
                vmd->frame_table[total_frames].pts = current_audio_pts;
201
                total_frames++;
202
                current_audio_pts += pts_inc;
203 203
                break;
204 204
            case 2: /* Video Chunk */
205 205
                vmd->frame_table[total_frames].frame_offset = current_offset;

Also available in: Unified diff