mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 04:40:30 +00:00
Lavd: small fix
This commit is contained in:
@@ -540,13 +540,13 @@ int libavcodec_decompress_get_property(void *state, int property, void *val, siz
|
||||
switch(property) {
|
||||
case DECOMPRESS_PROPERTY_ACCEPTS_CORRUPTED_FRAME:
|
||||
if(*len >= sizeof(int)) {
|
||||
*(int *) val = FALSE;
|
||||
*len = sizeof(int);
|
||||
#ifdef LAVD_ACCEPT_CORRUPTED
|
||||
ret = TRUE;
|
||||
*(int *) val = TRUE;
|
||||
#else
|
||||
ret = FALSE;
|
||||
*(int *) val = FALSE;
|
||||
#endif
|
||||
*len = sizeof(int);
|
||||
ret = TRUE;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user