FS-7500: refactoring

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:50 -05:00
1 parent 3584da00d0
commit 970064294c
16 files changed
+57 -43

No files matched your search

+1 -1
View File
@@ -710,7 +710,6 @@ static switch_status_t switch_h264_decode(switch_codec_t *codec, switch_frame_t
context->img->stride[2] = picture->linesize[2];
frame->img = context->img;
}
av_frame_free(&picture);
@@ -718,6 +717,7 @@ static switch_status_t switch_h264_decode(switch_codec_t *codec, switch_frame_t
}
switch_buffer_zero(context->nalu_buffer);
//switch_set_flag(frame, SFF_USE_VIDEO_TIMESTAMP);
return SWITCH_STATUS_SUCCESS;
}