Commit 2d2020b8 authored by Michael Niedermayer's avatar Michael Niedermayer

remove redundant memset()

Originally committed as revision 8390 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5ac09151
...@@ -633,8 +633,6 @@ static void MPV_encode_defaults(MpegEncContext *s){ ...@@ -633,8 +633,6 @@ static void MPV_encode_defaults(MpegEncContext *s){
int i; int i;
done=1; done=1;
memset(default_fcode_tab , 0, sizeof(uint8_t)*(2*MAX_MV+1));
for(i=-16; i<16; i++){ for(i=-16; i<16; i++){
default_fcode_tab[i + MAX_MV]= 1; default_fcode_tab[i + MAX_MV]= 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment