Ignore:
Timestamp:
01/10/18 21:14:25 (6 years ago)
Author:
gost
Message:

[plugins] lcdsamsung.. fix some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/mc/mc_audioplayer.h

    r28982 r41668  
    596596                                debug(50, "playerstart: %s", filename);
    597597                                eof = 0;
    598 
     598                               
     599                                free(status.playfile); status.playfile = NULL;
     600                                status.playfile = ostrcat(filename, "", 0, 0);
    599601                                playerret = playerstart(filename);
    600602                                playwritevfd(filename, NULL);
     
    704706                                //servicestop(status.aktservice, 1, 1);
    705707#endif
    706                                
     708                                free(status.playfile); status.playfile = NULL;
     709                                status.playfile = ostrcat(filename, "", 0, 0);
    707710                                playerret = playerstart(filename);
    708711                                playwritevfd(filename, NULL);
Note: See TracChangeset for help on using the changeset viewer.