Skip to content

Commit

Permalink
Fix formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiwu committed Aug 30, 2023
1 parent 4b931a0 commit 68299d2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ object PesPacketHeader {
("flags" | Codec[Flags]).flatPrepend { flags =>
variableSizeBytes(
uint8,
("pts" | conditional(flags.ptsFlag, if (flags.dtsFlag) tsCodec(bin"0011") else tsCodec(bin"0010"))) ::
("pts" | conditional(
flags.ptsFlag,
if (flags.dtsFlag) tsCodec(bin"0011") else tsCodec(bin"0010")
)) ::
("dts" | conditional(flags.dtsFlag, tsCodec(bin"0001"))) ::
("escr" | conditional(flags.escrFlag, escrCodec)) ::
("es_rate" | conditional(flags.esRateFlag, ignore(1) ~> uint(22) <~ ignore(1))) ::
Expand Down

0 comments on commit 68299d2

Please sign in to comment.