| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Functions
mp2t.h File Reference
`#include "wtap.h"`

Go to the source code of this file.

## Functions
wtap_open_return_val | mp2t_open (wtap *wth, int *err, char **err_info)
| Opens an MPEG-2 Transport Stream file.

## Detailed Description

ISO/IEC 13818-1 MPEG2-TS file format decoder for the Wiretap library. Written by Weston Schmidt westo.nosp@m.n_sc.nosp@m.hmidt.nosp@m.@alu.nosp@m.mni.p.nosp@m.urdu.nosp@m.e.edu Copyright 2012 Weston Schmidt

Wiretap Library SPDX-License-Identifier: GPL-2.0-or-later

## Function Documentation

## ◆ mp2t_open()

wtap_open_return_val mp2t_open | ( | wtap * | wth,
|  | int * | err,
|  | char ** | err_info )

Opens an MPEG-2 Transport Stream file.

Attempts to open a file as an MPEG-2 Transport Stream and initializes the wtap structure accordingly.

Parameters

  wth | Pointer to the wtap structure that will be initialized.
  err | Error code if the file is not an MPEG-2 Transport Stream.
  err_info | Error message if the file is not an MPEG-2 Transport Stream.

Returns
  wtap_open_return_val The result of opening the file, indicating success or failure.

< Precision: 1 nanosecond (9 fractional digits).