int vid_frames = 0;
if (context->seek_ts >= 0) {
- int ret = 0;
int stream_id = -1;
switch_mutex_lock(context->mutex);
// if (context->has_audio) stream_id = context->audio_st.st->index;
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "seeking to %" SWITCH_INT64_T_FMT "\n", context->seek_ts);
- ret = avformat_seek_file(context->fc, stream_id, 0, context->seek_ts, INT64_MAX, 0);
+ avformat_seek_file(context->fc, stream_id, 0, context->seek_ts, INT64_MAX, 0);
context->seek_ts = -1;
context->video_st.next_pts = 0;
context->video_start_time = 0;