Coverage Report

Created: 2026-04-12 07:27

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/vlc/modules/demux/mpeg/h26x.c
Line
Count
Source
1
/*****************************************************************************
2
 * h26x.c : raw H264 and HEVC Video demuxers
3
 *****************************************************************************
4
 * Copyright (C) 2002-2004, 2014-2015 VLC authors and VideoLAN
5
 *
6
 * Authors: Laurent Aimar <fenrir@via.ecp.fr>
7
 *          Denis Charmet <typx@videolan.org>
8
 *
9
 * This program is free software; you can redistribute it and/or modify it
10
 * under the terms of the GNU Lesser General Public License as published by
11
 * the Free Software Foundation; either version 2.1 of the License, or
12
 * (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
 * GNU Lesser General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU Lesser General Public License
20
 * along with this program; if not, write to the Free Software Foundation,
21
 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22
 *****************************************************************************/
23
24
/*****************************************************************************
25
 * Preamble
26
 *****************************************************************************/
27
28
#ifdef HAVE_CONFIG_H
29
# include "config.h"
30
#endif
31
32
#include <vlc_common.h>
33
#include <vlc_plugin.h>
34
#include <vlc_demux.h>
35
#include <vlc_codec.h>
36
#include "../../packetizer/hevc_nal.h" /* definitions, inline helpers */
37
#include "../../packetizer/h264_nal.h" /* definitions, inline helpers */
38
39
/*****************************************************************************
40
 * Module descriptor
41
 *****************************************************************************/
42
static int  OpenH264 ( vlc_object_t * );
43
static int  OpenHEVC ( vlc_object_t * );
44
static void Close( vlc_object_t * );
45
46
#define FPS_TEXT N_("Frames per Second")
47
#define FPS_LONGTEXT N_("Desired frame rate for the stream.")
48
49
116
vlc_module_begin ()
50
58
    set_shortname( "H264")
51
58
    set_subcategory( SUBCAT_INPUT_DEMUX )
52
58
    set_description( N_("H264 video demuxer" ) )
53
58
    set_capability( "demux", 8 )
54
58
    set_section( N_("H264 video demuxer" ), NULL )
55
58
    add_float( "h264-fps", 0.0, FPS_TEXT, FPS_LONGTEXT )
56
58
    set_callbacks( OpenH264, Close )
57
58
    add_shortcut( "h264" )
58
58
    add_file_extension("h264")
59
60
58
    add_submodule()
61
58
        set_shortname( "HEVC")
62
58
        set_subcategory( SUBCAT_INPUT_DEMUX )
63
58
        set_description( N_("HEVC/H.265 video demuxer" ) )
64
58
        set_capability( "demux", 8 )
65
58
        set_section( N_("HEVC/H.265 video demuxer" ), NULL )
66
58
        add_float( "hevc-fps", 0.0, FPS_TEXT, FPS_LONGTEXT )
67
58
        set_callbacks( OpenHEVC, Close )
68
58
        add_shortcut( "hevc", "h265" )
69
70
58
vlc_module_end ()
71
72
/*****************************************************************************
73
 * Local prototypes
74
 *****************************************************************************/
75
typedef struct
76
{
77
    es_out_id_t *p_es;
78
79
    date_t      feed_dts;
80
    date_t      output_dts;
81
    unsigned    frame_rate_num;
82
    unsigned    frame_rate_den;
83
84
    decoder_t *p_packetizer;
85
} demux_sys_t;
86
87
static int Demux( demux_t * );
88
static int Control( demux_t *, int, va_list );
89
90
133k
#define H26X_PACKET_SIZE 2048
91
16.8k
#define H26X_PEEK_CHUNK  (H26X_PACKET_SIZE * 4)
92
7.08M
#define H26X_MIN_PEEK    (4 + 7 + 10)
93
5.80k
#define H26X_MAX_PEEK    (H26X_PEEK_CHUNK * 8) /* max data to check */
94
11.1k
#define H26X_NAL_COUNT   8 /* max # or NAL to check */
95
96
/*****************************************************************************
97
 * Probing
98
 *****************************************************************************/
99
typedef struct
100
{
101
    bool b_sps;
102
    bool b_pps;
103
    bool b_vps;
104
} hevc_probe_ctx_t;
105
106
typedef struct
107
{
108
    bool b_sps;
109
    bool b_pps;
110
} h264_probe_ctx_t;
111
112
static int ProbeHEVC( const uint8_t *p_peek, size_t i_peek, void *p_priv )
113
3.17k
{
114
3.17k
    hevc_probe_ctx_t *p_ctx = (hevc_probe_ctx_t *) p_priv;
115
116
3.17k
    if( i_peek < 2 )
117
0
        return -1;
118
119
3.17k
    if( p_peek[0] & 0x80 )
120
14
        return -1;
121
122
3.15k
    const uint8_t i_type = hevc_getNALType( p_peek );
123
3.15k
    const uint8_t i_layer = hevc_getNALLayer( p_peek );
124
125
3.15k
   if ( i_type == HEVC_NAL_VPS ) /* VPS */
126
802
   {
127
802
       if( i_layer != 0 || i_peek < 6 ||
128
765
           p_peek[4] != 0xFF || p_peek[5] != 0xFF ) /* Check reserved bits */
129
289
           return -1;
130
513
       p_ctx->b_vps = true;
131
513
       return 0;
132
802
   }
133
2.35k
   else if( i_type == HEVC_NAL_SPS )  /* SPS */
134
825
   {
135
825
       if( i_layer != 0 )
136
60
           return -1;
137
765
       p_ctx->b_sps = true;
138
765
       return 0;
139
825
   }
140
1.52k
   else if( i_type == HEVC_NAL_PPS )  /* PPS */
141
917
   {
142
917
       if( i_layer != 0 )
143
63
           return -1;
144
854
       p_ctx->b_pps = true;
145
854
       return 0;
146
917
   }
147
612
   else if( i_type >= HEVC_NAL_BLA_W_LP && i_type <= HEVC_NAL_CRA ) /* Key Frame */
148
415
   {
149
415
        if( p_ctx->b_vps && p_ctx->b_sps && p_ctx->b_pps && i_layer == 0 )
150
263
            return 1;
151
415
   }
152
197
   else if( i_type == HEVC_NAL_AUD ) /* AU */
153
55
   {
154
55
        if( i_peek < H26X_MIN_PEEK ||
155
53
            p_peek[4] != 0 || p_peek[5] != 0 ) /* Must prefix another NAL */
156
19
            return -1;
157
55
   }
158
142
   else if( i_type == HEVC_NAL_PREF_SEI ) /* Prefix SEI */
159
51
   {
160
51
       if( p_peek[2] == 0xFF ) /* empty SEI */
161
2
           return -1;
162
51
   }
163
91
   else
164
91
   {
165
91
       return -1; /* See 7.4.2.4.4 for sequence order */
166
91
   }
167
168
237
    return 0; /* Probe more */
169
3.15k
}
170
171
static int ProbeH264( const uint8_t *p_peek, size_t i_peek, void *p_priv )
172
3.23k
{
173
3.23k
    h264_probe_ctx_t *p_ctx = (h264_probe_ctx_t *) p_priv;
174
175
3.23k
    if( i_peek < 1 )
176
0
        return -1;
177
3.23k
    const uint8_t i_nal_type = p_peek[0] & 0x1F;
178
3.23k
    const uint8_t i_ref_idc = p_peek[0] & 0x60;
179
180
3.23k
    if( (p_peek[0] & 0x80) ) /* reserved 0 */
181
73
        return -1;
182
183
    /* ( !i_ref_idc && (i_nal_type < 6 || i_nal_type == 7 || i_nal_type == 8) ) ||
184
       (  i_ref_idc && (i_nal_type == 6 || i_nal_type >= 9) ) */
185
186
3.16k
    if( i_nal_type == H264_NAL_SPS )
187
1.37k
    {
188
1.37k
        if( i_ref_idc == 0 || i_peek < 3 ||
189
1.30k
           (p_peek[2] & 0x03) /* reserved 0 bits */ )
190
308
            return -1;
191
1.06k
        p_ctx->b_sps = true;
192
1.06k
    }
193
1.78k
    else if( i_nal_type == H264_NAL_PPS )
194
834
    {
195
834
        if( i_ref_idc == 0 )
196
34
            return -1;
197
800
        p_ctx->b_pps = true;
198
800
    }
199
950
    else if( i_nal_type == H264_NAL_SLICE_IDR )
200
64
    {
201
64
        if( i_ref_idc == 0 || ! p_ctx->b_pps || ! p_ctx->b_sps )
202
30
            return -1;
203
34
        else
204
34
            return 1;
205
64
    }
206
886
    else if( i_nal_type == H264_NAL_AU_DELIMITER )
207
67
    {
208
67
        if( i_ref_idc )
209
5
            return -1;
210
67
    }
211
819
    else if ( i_nal_type == H264_NAL_SEI )
212
496
    {
213
496
        if( i_ref_idc )
214
9
            return -1;
215
496
    }
216
     /* 7.4.1.1 */
217
323
    else if ( i_nal_type == H264_NAL_SPS_EXT ||
218
298
              i_nal_type == H264_NAL_SUBSET_SPS )
219
38
    {
220
38
        if( i_ref_idc == 0 || !p_ctx->b_sps )
221
8
            return -1;
222
38
    }
223
285
    else if( i_nal_type == H264_NAL_PREFIX )
224
14
    {
225
14
        if( i_ref_idc == 0 || !p_ctx->b_pps || !p_ctx->b_sps )
226
4
            return -1;
227
14
    }
228
271
    else return -1; /* see 7.4.1.2.3 for sequence */
229
230
2.45k
    return 0;
231
3.16k
}
232
233
/*****************************************************************************
234
 * Shared Open code
235
 *****************************************************************************/
236
static inline bool check_Property( demux_t *p_demux, const char **pp_psz,
237
                                   bool(*pf_check)(demux_t *, const char *) )
238
3.91k
{
239
20.5k
    while( *pp_psz )
240
16.6k
    {
241
16.6k
        if( pf_check( p_demux, *pp_psz ) )
242
0
            return true;
243
16.6k
        pp_psz++;
244
16.6k
    }
245
3.91k
    return false;
246
3.91k
}
247
248
static int GenericOpen( demux_t *p_demux, const char *psz_module,
249
                        vlc_fourcc_t i_codec,
250
                        int(*pf_probe)(const uint8_t *, size_t, void *),
251
                        void *p_ctx,
252
                        const char **pp_psz_exts,
253
                        const char **pp_psz_mimes )
254
19.2k
{
255
19.2k
    demux_sys_t *p_sys;
256
19.2k
    const uint8_t *p_peek;
257
19.2k
    es_format_t fmt;
258
19.2k
    uint8_t annexb_startcode[] = {0,0,0,1};
259
19.2k
    int i_ret = 0;
260
261
    /* Restrict by type first */
262
19.2k
    if( !p_demux->obj.force &&
263
1.95k
        !check_Property( p_demux, pp_psz_exts, demux_IsPathExtension ) &&
264
1.95k
        !check_Property( p_demux, pp_psz_mimes, demux_IsContentType ) )
265
1.95k
    {
266
1.95k
        return VLC_EGENERIC;
267
1.95k
    }
268
269
    /* First check for first AnnexB header */
270
17.2k
    if( vlc_stream_Peek( p_demux->s, &p_peek, H26X_MIN_PEEK ) == H26X_MIN_PEEK &&
271
14.3k
       !memcmp( p_peek, annexb_startcode, 4 ) )
272
2.39k
    {
273
2.39k
        ssize_t i_peek = H26X_MIN_PEEK;
274
2.39k
        size_t i_peek_target = H26X_MIN_PEEK;
275
2.39k
        ssize_t i_probe_offset = 4;
276
2.39k
        const uint8_t *p_probe = p_peek;
277
2.39k
        bool b_synced = true;
278
2.39k
        unsigned i_bitflow = 0;
279
280
11.1k
        for( unsigned i=0; i<H26X_NAL_COUNT; i++ )
281
10.2k
        {
282
3.52M
            while( !b_synced )
283
3.51M
            {
284
3.51M
                if( i_probe_offset + H26X_MIN_PEEK >= i_peek &&
285
5.80k
                    i_peek_target + H26X_PEEK_CHUNK <= H26X_MAX_PEEK )
286
5.26k
                {
287
5.26k
                    i_peek_target += H26X_PEEK_CHUNK;
288
5.26k
                    i_peek = vlc_stream_Peek( p_demux->s, &p_peek, i_peek_target );
289
5.26k
                }
290
291
3.51M
                if( i_probe_offset + H26X_MIN_PEEK >= i_peek )
292
3.88k
                    break;
293
294
3.51M
                p_probe = &p_peek[i_probe_offset];
295
3.51M
                i_bitflow = (i_bitflow << 1) | (!p_probe[0]);
296
                /* Check for annexB */
297
3.51M
                if( p_probe[0] == 0x01 && ((i_bitflow & 0x06) == 0x06) )
298
4.01k
                    b_synced = true;
299
300
3.51M
                i_probe_offset++;
301
3.51M
            }
302
303
10.2k
            if( b_synced )
304
6.40k
            {
305
6.40k
                p_probe = &p_peek[i_probe_offset];
306
6.40k
                i_ret = pf_probe( p_probe, (size_t)(i_peek - i_probe_offset), p_ctx );
307
6.40k
            }
308
309
10.2k
            if( i_ret != 0 )
310
1.57k
                break;
311
312
8.70k
            i_probe_offset += 4;
313
8.70k
            b_synced = false;
314
8.70k
        }
315
2.39k
    }
316
317
17.2k
    if( i_ret < 1 )
318
16.9k
    {
319
16.9k
        if( !p_demux->obj.force )
320
0
        {
321
0
            msg_Warn( p_demux, "%s module discarded (no startcode)", psz_module );
322
0
            return VLC_EGENERIC;
323
0
        }
324
325
16.9k
        msg_Err( p_demux, "this doesn't look like a %s ES stream, "
326
16.9k
                 "continuing anyway", psz_module );
327
16.9k
    }
328
329
17.2k
    p_demux->pf_demux  = Demux;
330
17.2k
    p_demux->pf_control= Control;
331
17.2k
    p_demux->p_sys     = p_sys = malloc( sizeof( demux_sys_t ) );
332
17.2k
    p_sys->p_es        = NULL;
333
17.2k
    p_sys->frame_rate_num = 0;
334
17.2k
    p_sys->frame_rate_den = 0;
335
336
17.2k
    float f_fps = 0;
337
17.2k
    char *psz_fpsvar;
338
17.2k
    if( asprintf( &psz_fpsvar, "%s-fps", psz_module ) != -1 )
339
17.2k
    {
340
17.2k
        f_fps = var_CreateGetFloat( p_demux, psz_fpsvar );
341
17.2k
        free( psz_fpsvar );
342
17.2k
    }
343
344
17.2k
    if( f_fps )
345
0
    {
346
0
        if ( f_fps < 0.001f ) f_fps = 0.001f;
347
0
        p_sys->frame_rate_den = 1000;
348
0
        p_sys->frame_rate_num = 2000 * f_fps;
349
0
        date_Init( &p_sys->feed_dts, p_sys->frame_rate_num, p_sys->frame_rate_den );
350
0
    }
351
17.2k
    else
352
17.2k
        date_Init( &p_sys->feed_dts, 25000, 1000 );
353
17.2k
    date_Set( &p_sys->feed_dts, VLC_TICK_0 );
354
17.2k
    p_sys->output_dts = p_sys->feed_dts;
355
356
    /* Load the mpegvideo packetizer */
357
17.2k
    es_format_Init( &fmt, VIDEO_ES, i_codec );
358
17.2k
    if( f_fps )
359
0
    {
360
0
        fmt.video.i_frame_rate = p_sys->feed_dts.i_divider_num;
361
0
        fmt.video.i_frame_rate_base = p_sys->feed_dts.i_divider_den;
362
0
    }
363
17.2k
    p_sys->p_packetizer = demux_PacketizerNew( VLC_OBJECT(p_demux), &fmt, psz_module );
364
17.2k
    if( !p_sys->p_packetizer )
365
0
    {
366
0
        free( p_sys );
367
0
        return VLC_EGENERIC;
368
0
    }
369
370
17.2k
    return VLC_SUCCESS;
371
17.2k
}
372
373
/*****************************************************************************
374
 * Open: initializes demux structures
375
 *****************************************************************************/
376
static int OpenH264( vlc_object_t * p_this )
377
9.82k
{
378
9.82k
    h264_probe_ctx_t ctx = { 0, 0 };
379
9.82k
    const char *rgi_psz_ext[] = { ".h264", ".264", ".bin", ".bit", ".raw", NULL };
380
9.82k
    const char *rgi_psz_mime[] = { "video/H264", "video/h264", "video/avc", NULL };
381
382
9.82k
    return GenericOpen( (demux_t*)p_this, "h264", VLC_CODEC_H264, ProbeH264,
383
9.82k
                        &ctx, rgi_psz_ext, rgi_psz_mime );
384
9.82k
}
385
386
static int OpenHEVC( vlc_object_t * p_this )
387
9.39k
{
388
9.39k
    hevc_probe_ctx_t ctx = { 0, 0, 0 };
389
9.39k
    const char *rgi_psz_ext[] = { ".h265", ".265", ".hevc", ".bin", ".bit", ".raw", NULL };
390
9.39k
    const char *rgi_psz_mime[] = { "video/h265", "video/hevc", "video/HEVC", NULL };
391
392
9.39k
    return GenericOpen( (demux_t*)p_this, "hevc", VLC_CODEC_HEVC, ProbeHEVC,
393
9.39k
                        &ctx, rgi_psz_ext, rgi_psz_mime );
394
9.39k
}
395
396
/*****************************************************************************
397
 * Close: frees unused data
398
 *****************************************************************************/
399
static void Close( vlc_object_t * p_this )
400
17.2k
{
401
17.2k
    demux_t     *p_demux = (demux_t*)p_this;
402
17.2k
    demux_sys_t *p_sys = p_demux->p_sys;
403
404
17.2k
    demux_PacketizerDestroy( p_sys->p_packetizer );
405
17.2k
    free( p_sys );
406
17.2k
}
407
408
/*****************************************************************************
409
 * Demux: reads and demuxes data packets
410
 *****************************************************************************
411
 * Returns -1 in case of error, 0 in case of EOF, 1 otherwise
412
 *****************************************************************************/
413
static int Demux( demux_t *p_demux)
414
116k
{
415
116k
    demux_sys_t *p_sys = p_demux->p_sys;
416
116k
    block_t *p_block_in, *p_block_out;
417
116k
    bool b_eof = false;
418
419
116k
    p_block_in = vlc_stream_Block( p_demux->s, H26X_PACKET_SIZE );
420
116k
    if( p_block_in == NULL )
421
17.2k
    {
422
17.2k
        b_eof = true;
423
17.2k
    }
424
99.3k
    else
425
99.3k
    {
426
99.3k
        p_block_in->i_dts = date_Get( &p_sys->feed_dts );
427
99.3k
    }
428
429
1.60M
    while( (p_block_out = p_sys->p_packetizer->pf_packetize( p_sys->p_packetizer,
430
1.60M
                                                             p_block_in ? &p_block_in : NULL )) )
431
1.48M
    {
432
2.97M
        while( p_block_out )
433
1.48M
        {
434
1.48M
            block_t *p_next = p_block_out->p_next;
435
1.48M
            p_block_out->p_next = NULL;
436
437
1.48M
            if( p_sys->p_packetizer->fmt_out.video.i_frame_rate_base &&
438
1.40M
                p_sys->p_packetizer->fmt_out.video.i_frame_rate_base != p_sys->frame_rate_den &&
439
5.45k
                p_sys->p_packetizer->fmt_out.video.i_frame_rate &&
440
5.45k
                p_sys->p_packetizer->fmt_out.video.i_frame_rate_base != p_sys->frame_rate_num )
441
5.45k
            {
442
5.45k
                p_sys->frame_rate_num = p_sys->p_packetizer->fmt_out.video.i_frame_rate;
443
5.45k
                p_sys->frame_rate_den = p_sys->p_packetizer->fmt_out.video.i_frame_rate_base;
444
5.45k
                date_Change( &p_sys->feed_dts, 2 * p_sys->frame_rate_num, p_sys->frame_rate_den );
445
5.45k
                date_Change( &p_sys->output_dts, 2 * p_sys->frame_rate_num, p_sys->frame_rate_den );
446
5.45k
                msg_Dbg( p_demux, "using %.2f fps", (double) p_sys->frame_rate_num / p_sys->frame_rate_den );
447
5.45k
            }
448
449
            /* we only want to use the pts-dts offset and length from packetizer */
450
1.48M
            vlc_tick_t dtsdiff = p_block_out->i_pts > p_block_out->i_dts
451
1.48M
                               ? p_block_out->i_pts - p_block_out->i_dts
452
1.48M
                               : 0;
453
            /* Always start frame N=1 so we get PCR on N=0 */
454
1.48M
            date_t dtsdate = p_sys->output_dts;
455
1.48M
            vlc_tick_t dts = date_Increment( &dtsdate, 2 );
456
457
1.48M
            p_block_out->i_dts = dts;
458
1.48M
            if( p_block_out->i_pts != VLC_TICK_INVALID )
459
122k
                p_block_out->i_pts = dts + dtsdiff;
460
461
1.48M
            if( p_block_in )
462
1.47M
            {
463
1.47M
                p_block_in->i_dts = date_Get( &p_sys->feed_dts );
464
1.47M
                p_block_in->i_pts = VLC_TICK_INVALID;
465
1.47M
            }
466
467
1.48M
            if( p_sys->p_es == NULL )
468
5.63k
            {
469
5.63k
                p_sys->p_packetizer->fmt_out.b_packetized = true;
470
5.63k
                p_sys->p_packetizer->fmt_out.i_id = 0;
471
5.63k
                p_sys->p_es = es_out_Add( p_demux->out, &p_sys->p_packetizer->fmt_out );
472
5.63k
                if( !p_sys->p_es )
473
0
                {
474
0
                    block_ChainRelease( p_block_out );
475
0
                    return VLC_DEMUXER_EOF;
476
0
                }
477
5.63k
            }
478
479
            /* h264 packetizer does merge multiple NAL into AU, but slice flag persists */
480
1.48M
            bool frame = p_block_out->i_flags & BLOCK_FLAG_TYPE_MASK;
481
1.48M
            const vlc_tick_t i_frame_length = p_block_out->i_length;
482
483
            /* first output */
484
1.48M
            if( date_Get( &p_sys->output_dts ) == VLC_TICK_0 )
485
7.98k
                es_out_SetPCR( p_demux->out, date_Get( &p_sys->output_dts ) );
486
487
1.48M
            es_out_Send( p_demux->out, p_sys->p_es, p_block_out );
488
489
1.48M
            vlc_tick_t pcr = b_eof ? dts : date_Get( &p_sys->output_dts );
490
491
1.48M
            if( frame )
492
1.45M
            {
493
1.45M
                unsigned i_nb_fields;
494
1.45M
                if( i_frame_length > 0 )
495
564k
                {
496
564k
                    i_nb_fields = round( (double)i_frame_length * 2 * p_sys->frame_rate_num /
497
564k
                                  ( p_sys->frame_rate_den * CLOCK_FREQ ) );
498
564k
                }
499
895k
                else i_nb_fields = 2;
500
1.45M
                if( i_nb_fields <= 6 ) /* in the legit range */
501
1.45M
                {
502
1.45M
                    date_Increment( &p_sys->output_dts, i_nb_fields );
503
1.45M
                }
504
1.45M
            }
505
506
1.48M
            es_out_SetPCR( p_demux->out, pcr );
507
508
1.48M
            p_block_out = p_next;
509
1.48M
        }
510
1.48M
    }
511
116k
    return (b_eof) ? VLC_DEMUXER_EOF : VLC_DEMUXER_SUCCESS;
512
116k
}
513
514
/*****************************************************************************
515
 * Control:
516
 *****************************************************************************/
517
static int Control( demux_t *p_demux, int i_query, va_list args )
518
0
{
519
    /* demux_sys_t *p_sys  = p_demux->p_sys; */
520
    /* FIXME calculate the bitrate */
521
0
    if( i_query == DEMUX_SET_TIME )
522
0
        return VLC_EGENERIC;
523
0
    else
524
0
        return demux_vaControlHelper( p_demux->s,
525
0
                                       0, -1,
526
0
                                       0, 1, i_query, args );
527
0
}