Skip to content

Instantly share code, notes, and snippets.

tinybug tinybug

Block or report user

Report or block tinybug

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tinybug
tinybug / Dockerfile
Created Jul 7, 2019 — forked from robertaboukhalil/Dockerfile
WASM - Emscripten Container Image
View Dockerfile
FROM debian:latest
MAINTAINER Robert Aboukhalil (robert.aboukhalil@gmail.com)
# Main dependencies
RUN apt-get update && \
apt-get install -y git python build-essential openjdk-8-jre-headless
# Setup emsdk
RUN git clone https://github.com/emscripten-core/emsdk.git
WORKDIR /emsdk
View H264_Decoder.cpp
#include "H264_Decoder.h"
H264_Decoder::H264_Decoder(h264_decoder_callback frameCallback, void* user)
:codec(NULL)
,codec_context(NULL)
,parser(NULL)
,fp(NULL)
,frame(0)
,cb_frame(frameCallback)
,cb_user(user)
You can’t perform that action at this time.