mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-7500: refactoring
This commit is contained in:
1 parent
3584da00d0
commit
970064294c
16 files changed
+57
-43
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user