{"name": "graph_config_formats", "code": "__int64 __fastcall graph_config_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; int v3 ; int v4 ; v3 = query_formats ( @@a1@@ , @@a2@@ ) ; if ( v3 < Number ) return ( unsigned int ) v3 ; reduce_formats ( @@a1@@ ) ; swap_sample_fmts ( @@a1@@ ) ; swap_samplerates ( @@a1@@ ) ; swap_channel_layouts ( @@a1@@ ) ; v4 = pick_formats ( @@a1@@ ) ; if ( v4 >= Number ) @@result@@ = Number L ; else @@result@@ = ( unsigned int ) v4 ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "query_formats", "code": "__int64 __fastcall query_formats ( __int64 @@a1@@ , __int64 @@a2@@ ) { int v2 ; unsigned int v3 ; unsigned int v4 ; char @@v6@@ [ Number ] ; char @@s@@ [ Number ] ; __int64 @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; int @@v14@@ ; unsigned int @@v15@@ ; unsigned int @@v16@@ ; unsigned int @@v17@@ ; unsigned int @@j@@ ; unsigned int @@i@@ ; @@v16@@ = Number ; @@v15@@ = Number ; for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) { if ( * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) + Number L ) + Number L ) ) ( * ( void ( __fastcall * * ) ( _QWORD ) ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) + Number L ) + Number L ) ) ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; else ff_default_query_formats ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) { @@v13@@ = * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; for ( @@j@@ = Number ; * ( _DWORD * ) ( @@v13@@ + Number ) > @@j@@ ; ++ @@j@@ ) { @@v12@@ = * ( _QWORD * ) ( Number L * ( int ) @@j@@ + * ( _QWORD * ) ( @@v13@@ + Number ) ) ; @@v14@@ = Number ; if ( @@v12@@ ) { if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_formats ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } if ( * ( _DWORD * ) ( @@v12@@ + Number ) == Number ) { if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } if ( * ( _QWORD * ) ( @@v12@@ + Number ) != * ( _QWORD * ) ( @@v12@@ + Number ) && ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v12@@ + Number ) , * ( _QWORD * ) ( @@v12@@ + Number ) ) ) { @@v14@@ = Number ; } } if ( @@v14@@ ) { v2 = * ( _DWORD * ) ( @@v12@@ + Number ) ; if ( v2 ) { if ( v2 != Number ) return Number L ; @@v11@@ = avfilter_get_by_name ( String ) ; if ( ! @@v11@@ ) { av_log ( @@a2@@ , Number L , String ) ; return Number L ; } v4 = @@v15@@ ++ ; snprintf ( @@s@@ , Number , String , v4 ) ; @@v6@@ [ Number ] = Number ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) snprintf ( @@v6@@ , Number , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@v17@@ = avfilter_graph_create_filter ( & @@v8@@ , @@v11@@ , ( __int64 ) @@s@@ , ( __int64 ) @@v6@@ , Number L , @@a1@@ ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; } else { @@v11@@ = avfilter_get_by_name ( String ) ; if ( ! @@v11@@ ) { av_log ( @@a2@@ , Number L , String ) ; return Number L ; } v3 = @@v16@@ ++ ; snprintf ( @@s@@ , Number , String , v3 ) ; @@v17@@ = avfilter_graph_create_filter ( & @@v8@@ , @@v11@@ , ( __int64 ) @@s@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , @@a1@@ ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; } @@v17@@ = avfilter_insert_filter ( @@v12@@ , @@v8@@ , Number L , Number L ) ; if ( ( @@v17@@ & Number ) != Number ) return @@v17@@ ; ( * ( void ( __fastcall * * ) ( __int64 ) ) ( * ( _QWORD * ) ( @@v8@@ + Number ) + Number L ) ) ( @@v8@@ ) ; @@v10@@ = * * ( _QWORD * * ) ( @@v8@@ + Number ) ; @@v9@@ = * * ( _QWORD * * ) ( @@v8@@ + Number ) ; if ( ! ff_merge_formats ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) || ! ff_merge_formats ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) ) { @@v17@@ |= Number ; } if ( * ( _DWORD * ) ( @@v10@@ + Number ) == Number && ( ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) || ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@v10@@ + Number ) ) ) ) { @@v17@@ |= Number ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) == Number && ( ! ff_merge_samplerates ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) || ! ff_merge_channel_layouts ( * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _QWORD * ) ( @@v9@@ + Number ) ) ) ) { @@v17@@ |= Number ; } if ( ( @@v17@@ & Number ) != Number ) { av_log ( @@a2@@ , Number L , String , * ( const char * * ) ( * ( _QWORD * ) @@v12@@ + Number L ) , * ( const char * * ) ( * ( _QWORD * ) ( @@v12@@ + Number ) + Number L ) ) ; return @@v17@@ ; } } } } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "s", "t": {"T": 2, "n": 40, "s": 1, "t": "char"}, "location": "s120"}, {"n": "j", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v17", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v16", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v6", "t": {"T": 2, "n": 256, "s": 1, "t": "char"}, "location": "s376"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}]} {"name": "pick_format", "code": "__int64 __fastcall pick_format ( _QWORD * @@a1@@ ) { if ( ! @@a1@@ || ! @@a1@@ [ Number ] ) return Number L ; * ( _DWORD * ) @@a1@@ [ Number ] = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = * * ( _DWORD * * ) ( @@a1@@ [ Number ] + Number L ) ; if ( * ( ( _DWORD * ) @@a1@@ + Number ) == Number ) { if ( ! * ( _DWORD * ) @@a1@@ [ Number ] ) { av_log ( * @@a1@@ , Number L , String , * ( const char * * ) ( * @@a1@@ + Number L ) , * ( const char * * ) ( @@a1@@ [ Number ] + Number L ) ) ; return Number L ; } * ( _DWORD * ) @@a1@@ [ Number ] = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = * * ( _DWORD * * ) ( @@a1@@ [ Number ] + Number L ) ; if ( ! * ( _DWORD * ) ( @@a1@@ [ Number ] + Number L ) ) { av_log ( * @@a1@@ , Number L , String , * ( const char * * ) ( * @@a1@@ + Number L ) , * ( const char * * ) ( @@a1@@ [ Number ] + Number L ) ) ; return Number L ; } * ( _DWORD * ) ( @@a1@@ [ Number ] + Number L ) = Number ; @@a1@@ [ Number ] = * * ( _QWORD * * ) @@a1@@ [ Number ] ; } ff_formats_unref ( @@a1@@ + Number ) ; ff_formats_unref ( @@a1@@ + Number ) ; ff_formats_unref ( @@a1@@ + Number ) ; ff_formats_unref ( @@a1@@ + Number ) ; ff_channel_layouts_unref ( @@a1@@ + Number ) ; ff_channel_layouts_unref ( @@a1@@ + Number ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}]} {"name": "reduce_formats", "code": "__int64 __fastcall reduce_formats ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; unsigned int @@i@@ ; do { @@v2@@ = Number ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; @@v2@@ |= reduce_formats_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } } while ( @@v2@@ ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}]} {"name": "swap_samplerates", "code": "__int64 __fastcall swap_samplerates ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; swap_samplerates_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} {"name": "swap_channel_layouts", "code": "__int64 __fastcall swap_channel_layouts ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; swap_channel_layouts_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]} {"name": "swap_sample_fmts", "code": "__int64 __fastcall swap_sample_fmts ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@i@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { @@result@@ = @@i@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= @@i@@ ) break ; swap_sample_fmts_on_filter ( * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]} {"name": "pick_formats", "code": "__int64 __fastcall pick_formats ( __int64 @@a1@@ ) { int v2 ; int v3 ; __int64 @@v4@@ ; unsigned int j ; unsigned int k ; unsigned int @@i@@ ; for ( @@i@@ = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) > @@i@@ ; ++ @@i@@ ) { @@v4@@ = * ( _QWORD * ) ( Number L * ( int ) @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; for ( j = Number ; * ( _DWORD * ) ( @@v4@@ + Number ) > j ; ++ j ) { v2 = pick_format ( * ( _QWORD * * ) ( Number L * ( int ) j + * ( _QWORD * ) ( @@v4@@ + Number ) ) ) ; if ( v2 < Number ) return ( unsigned int ) v2 ; } for ( k = Number ; * ( _DWORD * ) ( @@v4@@ + Number ) > k ; ++ k ) { v3 = pick_format ( * ( _QWORD * * ) ( Number L * ( int ) k + * ( _QWORD * ) ( @@v4@@ + Number ) ) ) ; if ( v3 < Number ) return ( unsigned int ) v3 ; } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "avfilter_graph_config", "code": "__int64 __fastcall avfilter_graph_config ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; unsigned int v3 ; int v4 ; unsigned int v5 ; unsigned int v6 ; v3 = graph_check_validity ( @@a1@@ , @@a2@@ ) ; if ( v3 ) return v3 ; v4 = graph_insert_fifos ( @@a1@@ ) ; if ( v4 < Number ) return ( unsigned int ) v4 ; v5 = graph_config_formats ( @@a1@@ , @@a2@@ ) ; if ( v5 ) return v5 ; v6 = graph_config_links ( @@a1@@ ) ; if ( v6 ) @@result@@ = v6 ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}