From: <sb...@us...> - 2007-09-26 20:06:29
|
Revision: 1160 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1160&view=rev Author: sbalea Date: 2007-09-26 13:06:30 -0700 (Wed, 26 Sep 2007) Log Message: ----------- Eliminate some duplicate code that appeard after the last merge Modified Paths: -------------- trunk/lib/codec_theora.c trunk/lib/video.c Modified: trunk/lib/codec_theora.c =================================================================== --- trunk/lib/codec_theora.c 2007-09-26 19:38:11 UTC (rev 1159) +++ trunk/lib/codec_theora.c 2007-09-26 20:06:30 UTC (rev 1160) @@ -349,8 +349,6 @@ if ( !c->encstate ) goto bail; - video_reset_codec_stats(c); - c->format = format; c->width = w; c->height = h; Modified: trunk/lib/video.c =================================================================== --- trunk/lib/video.c 2007-09-26 19:38:11 UTC (rev 1159) +++ trunk/lib/video.c 2007-09-26 20:06:30 UTC (rev 1160) @@ -872,14 +872,6 @@ return 0; } -void video_reset_codec_stats(struct iaxc_video_codec *vcodec) -{ - if ( vcodec == NULL ) return; - - memset(&vcodec->video_stats, 0, sizeof(struct iaxc_video_stats)); - gettimeofday(&vcodec->video_stats.start_time, NULL); -} - static struct slicer_context *sc = NULL; EXPORT int iaxc_push_video(void *data, unsigned int size, int fragment) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |