Ticket #5695: programs_mythtranscode-pointer-checks.patch

File programs_mythtranscode-pointer-checks.patch, 698 bytes (added by Erik Hovland <erik@…>, 11 years ago)

removes unneeded memset

  • mythtv/programs/mythtranscode/mpeg2fix.cpp

    Attempts to fix pointer checks in mythtranscode
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     mythtv/programs/mythtranscode/mpeg2fix.cpp |    1 -
     1 files changed, 0 insertions(+), 1 deletions(-)
    
    diff --git a/mythtv/programs/mythtranscode/mpeg2fix.cpp b/mythtv/programs/mythtranscode/mpeg2fix.cpp
    index fc343ce..db0f748 100644
    a b void *my_malloc(unsigned size, mpeg2_alloc_t reason) 
    3838    if (size)
    3939    {
    4040        buf = (char *) malloc (size + 63 + sizeof (void **));
    41         memset(buf, 0, size + 63 + sizeof (void **));
    4241        if (buf)
    4342        {
    4443            char * align_buf;