H264NativeLoader.smali

.class public Lcom/facebook/h264/H264NativeLoader;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field private static sInitialized:Z


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 8
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static declared-synchronized ensure()V
    .registers 2

    const-class v0, Lcom/facebook/h264/H264NativeLoader;

    monitor-enter v0

    .line 12
    :try_start_3
    sget-boolean v1, Lcom/facebook/h264/H264NativeLoader;->sInitialized:Z

    if-nez v1, :cond_f

    const-string v1, "hpicDecoder"

    .line 13
    invoke-static {v1}, Lcom/facebook/nativeload/NativeLoader;->loadLibrary(Ljava/lang/String;)V

    const/4 v1, 0x1

    .line 14
    sput-boolean v1, Lcom/facebook/h264/H264NativeLoader;->sInitialized:Z
    :try_end_f
    .catchall {:try_start_3 .. :try_end_f} :catchall_11

    .line 16
    :cond_f
    monitor-exit v0

    return-void

    :catchall_11
    move-exception v1

    monitor-exit v0

    throw v1
.end method